--errsyntax error: 3: Expected identifier when parsing method name, got '.'