Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 8774039: Fix for Issue 622 (Closed)

Created:
9 years ago by sra1
Modified:
9 years ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -41 lines) Patch
M frog/frogsh View 13 chunks +22 lines, -23 lines 0 comments Download
M frog/gen.dart View 1 chunk +1 line, -1 line 0 comments Download
M frog/parser.dart View 1 5 chunks +19 lines, -16 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
sra1
tbr
9 years ago (2011-12-02 09:11:52 UTC) #1
Jennifer Messerly
9 years ago (2011-12-02 19:13:01 UTC) #2
lgtm. Lovely :)

Powered by Google App Engine
This is Rietveld 408576698