Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/gopher-lua/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (tb *LTable) Len() int {
return 0
}

// RaiseIfReadonly should be called from code on the path between the lua script and the table operation to ensure that
// RaiseIfReadOnly should be called from code on the path between the lua script and the table operation to ensure that
// the given table is writable
func (tb *LTable) RaiseIfReadOnly(L *LState) {
if tb.ReadOnly {
Expand Down Expand Up @@ -312,7 +312,7 @@ func (tb *LTable) RawGetInt(key int) LValue {
return tb.array[index]
}

// RawGet returns an LValue associated with a given key without __index metamethod.
// RawGetH returns an LValue associated with a given key without __index metamethod.
func (tb *LTable) RawGetH(key LValue) LValue {
if s, sok := key.(LString); sok {
if tb.strdict == nil {
Expand Down