DescriptionImprove recovery for local variable declarations.
We need this to improve code completion, and to *not* suggest method/keywords/etc
in cases like "main() {String s^}". Currently it is parsed as "main() {String; s^;}",
so completion cannot distinguish the variable name "s" from a of start a new expression.
R=brianwilkerson@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/78c7cde13207a5c8df688c637d60c7cf563545ab
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|