Field or method name expected

After the member operator, a field or method name is expected. This error most likely indicates that you misspelled the name of the field or method to access.

class Test {
  func doSomething()
  endfunc
}

Test t = new Test
t.do()             ; Error!
t.doSomething()    ; OK

See Also
Errors