AndreVanDelft / scala

The SubScript extension to the Scala programming language
http://www.subscript-lang.org/
12 stars 1 forks source link

Syntax ambiguities with "." and "(" #18

Open AndreVanDelft opened 10 years ago

AndreVanDelft commented 10 years ago

As noted on the Syntax documentation page:

There is still ambiguity with a.b and a(b). If there is white space before . it is an optional break; else it is a path separator. If there is white space before ( it starts a parenthesized expression; else it starts a parameter list

This needs to be implemented. For now, [a .] is not accepted by the parser.