Bad token description: what is "HasResultType"?
Syntax error: Token "HasResultType" expected instead of this input
public foo => return score;
Same: bad token description: where is there an
ERROR_TOKEN?
Unexpected input ignored: "ERROR_TOKEN"
public foo () => return score;
Lower case file name "score.x10" should have failed.
x10c++ -c ssca1/score.x10
/Users/brezin/Documents/x10dt-2.0.4/src/ssca1/Score.x10:10-51: Public type ssca1.Score must be declared in Score.x10
What happens if I insert ">="?
Syntax error: Token ">=" expected instead of this input
public foo = def() => score;
Answer for def() >=:
Method or static constructor not found for given matcher.
Matcher: def()
Answer for def() =>=:
Syntax error: Token "FieldAccess" expected instead of this input
public foo = def() == score;
Again, ERROR_TOKEN not helpful.
Syntax error: Unexpected input ignored: "ERROR_TOKEN"
public foo = def () { return score; }
What does this mean?
Syntax error: Token(s) inserted to complete scope: "== Type"
public foo = def () { return score; }
ERROR_TOKEN, again
Syntax error: Misplaced constructs(s): "ERROR_TOKEN"
public foo = def () { return score; };