gw.lang.parser.exceptions.ParseResultsException: prog.gosu
Errors:
Expecting ":" clause for function declaration. [line:1 col:13] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 13
Expecting a type name. [line:1 col:13] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 13
Expecting ":" clause for function declaration. [line:1 col:16] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 16
Expecting a type name. [line:1 col:16] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 16
Operator "+" cannot be applied to "ErrorType", "ErrorType" [line:1 col:21] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 21
Could not resolve symbol for : a [line:1 col:21] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 21
Could not resolve symbol for : b [line:1 col:25] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 25
Expecting ":" clause for function declaration. [line:1 col:13] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 13
Expecting a type name. [line:1 col:13] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 13
Expecting ":" clause for function declaration. [line:1 col:16] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 16
Expecting a type name. [line:1 col:16] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 16
Operator "+" cannot be applied to "ErrorType", "ErrorType" [line:1 col:21] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 21
Could not resolve symbol for : a [line:1 col:21] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 21
Could not resolve symbol for : b [line:1 col:25] in
line 1: var sum = \ a, b -> a + b
Line Number: 1 Column: 25
at gw.internal.gosu.parser.ParserBase.verifyParsedElement(ParserBase.java:292)
at gw.internal.gosu.parser.ParserBase.verifyParsedElement(ParserBase.java:263)
at gw.internal.gosu.parser.GosuClassParser.parseDefinitions(GosuClassParser.java:475)
at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1551)
at gw.internal.gosu.parser.GosuClass.compileDefinitionsIfNeeded(GosuClass.java:1494)
at gw.internal.gosu.parser.GosuClass.isValid(GosuClass.java:925)
at gw.internal.gosu.parser.GosuProgram_Proxy.isValid(gw.internal.gosu.parser.GosuProgram_Proxy:2)
at gw.internal.gosu.parser.GosuProgramParser.parseExpressionOrProgram(GosuProgramParser.java:229)
at gw.lang.Gosu.runWithFile(Gosu.java:621)
at gw.lang.Gosu.start(Gosu.java:140)
at gw.lang.Gosu.main(Gosu.java:70)