Closed scabug closed 13 years ago
Imported From: https://issues.scala-lang.org/browse/SI-3672?orig=1 Reporter: Bruce Mitchener (bruce)
@retronym said: These are the variations that currently work: http://git.jetbrains.org/?p=idea/scala-plugin.git;a=blob;f=test/org/jetbrains/plugins/scala/lang/parser/data/stmts/implicitClosureParams.test;h=f32e60393f12658b79ecd6188c09d406e9274033;hb=HEAD
Here is the reverse-engineered BNF: http://git.jetbrains.org/?p=idea/scala-plugin.git;a=blob;f=src/org/jetbrains/plugins/scala/lang/parser/parsing/expressions/Expr1.scala;h=ada39c0268ea5d70b4b3d9aefeeba28f0c6668a0;hb=HEAD
This differs from the grammar in Syntax Summary of the spec.
@odersky said: (In r23282) Closes #3672. Review by extempore.
@retronym said: A spec update + test would be appreciated. We need to keep the parser in IntelliJ up to date.
@odersky said: Yes, I am about to check a new version of the spec in, as well as a test.
@retronym said: Thanks a lot, I've noted the required changes for IntelliJ: http://youtrack.jetbrains.net/issue/SCL-2441
This compiles:
This does not: