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

Issue 8527005: Better redirecting constructor and initializers problems reporting. (Closed)

Created:
9 years, 1 month ago by scheglov
Modified:
9 years, 1 month ago
Reviewers:
fabiomfv, zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Better redirecting constructor and initializers problems reporting. Preparation for work on http://code.google.com/p/dart/issues/detail?id=351 R=zundel@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=1511

Patch Set 1 #

Total comments: 13

Patch Set 2 : Report problems for all nodes #

Messages

Total messages: 10 (0 generated)
scheglov
9 years, 1 month ago (2011-11-10 19:53:26 UTC) #1
zundel
I'll be OOO tomorrow, added Fabio to the review.
9 years, 1 month ago (2011-11-10 20:21:41 UTC) #2
fabiomfv
http://codereview.chromium.org/8527005/diff/1/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): http://codereview.chromium.org/8527005/diff/1/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode1064 compiler/java/com/google/dart/compiler/parser/DartParser.java:1064: parseInitializer(initializers); minor comment, not sure what this refactoring (pulling ...
9 years, 1 month ago (2011-11-10 20:48:33 UTC) #3
zundel
lgtm http://codereview.chromium.org/8527005/diff/1/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java File compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (right): http://codereview.chromium.org/8527005/diff/1/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java#newcode49 compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java:49: REDIRECTING_CONSTRUCTOR_CAN_NOT_HAVE_INITIALIZERS("Redirecting constructor can not have initializers"), > 100 ...
9 years, 1 month ago (2011-11-10 20:56:35 UTC) #4
zundel
I think I gave my LGTM too soon - please work out with Fabio if ...
9 years, 1 month ago (2011-11-10 21:06:27 UTC) #5
scheglov
Yes, I will continue work with Fabio tomorrow. I probably will just switch to reporting ...
9 years, 1 month ago (2011-11-10 21:55:38 UTC) #6
scheglov
9 years, 1 month ago (2011-11-10 22:07:37 UTC) #7
scheglov
http://codereview.chromium.org/8527005/diff/1/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): http://codereview.chromium.org/8527005/diff/1/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode1064 compiler/java/com/google/dart/compiler/parser/DartParser.java:1064: parseInitializer(initializers); On 2011/11/10 20:48:34, fabiomfv wrote: > minor comment, ...
9 years, 1 month ago (2011-11-10 22:07:54 UTC) #8
scheglov
ping?
9 years, 1 month ago (2011-11-14 15:51:54 UTC) #9
fabiomfv
9 years, 1 month ago (2011-11-14 15:57:10 UTC) #10
On 2011/11/14 15:51:54, scheglov wrote:
> ping?

sgtm, though I still think we should follow the grammar as is.

Powered by Google App Engine
This is Rietveld 408576698