Chromium Code Reviews
DescriptionFix for Issue 622
Inhibit parsing a lambda expression only at the top level of an initializer.
Parse parenthesized expression explicitly to give better errors on
malformed expressions:
* No longer blindly accept "(x: a)" as (a).
* In "(a, b)" complain about comma at the comma rather than the close paren.
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=2012
Patch Set 1 #Patch Set 2 : comment #Patch Set 3 : frogsh #
Messages
Total messages: 2 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||