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

Issue 9006033: Issue926: NPE while traversing nodes + invalid string interpolation (Closed)

Created:
9 years ago by codefu
Modified:
8 years, 12 months ago
CC:
reviews_dartlang.org, mmendez
Visibility:
Public.

Description

Issue926: NPE while traversing nodes + invalid string interpolation http://code.google.com/p/dart/issues/detail?id=926 BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=2866

Patch Set 1 #

Patch Set 2 : Adding test #

Total comments: 5

Patch Set 3 : Comments + Test changes #

Total comments: 18

Patch Set 4 : Not ready for review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -20 lines) Patch
M compiler/java/com/google/dart/compiler/parser/DartParser.java View 1 2 3 3 chunks +69 lines, -20 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
zundel
http://codereview.chromium.org/9006033/diff/1001/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): http://codereview.chromium.org/9006033/diff/1001/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode2121 compiler/java/com/google/dart/compiler/parser/DartParser.java:2121: if (!expect(Token.STRING_EMBED_EXP_END)) { Seems odd there is no error ...
9 years ago (2011-12-21 13:24:24 UTC) #1
codefu
Modifications to make the string interpolation more AST friendly and less assert happy. http://codereview.chromium.org/9006033/diff/1001/compiler/java/com/google/dart/compiler/parser/DartParser.java File ...
9 years ago (2011-12-21 18:47:56 UTC) #2
danrubel
lgtm
9 years ago (2011-12-21 19:24:48 UTC) #3
zundel
http://codereview.chromium.org/9006033/diff/6001/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): http://codereview.chromium.org/9006033/diff/6001/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode2160 compiler/java/com/google/dart/compiler/parser/DartParser.java:2160: && lookAhead.getSyntax().length() > 0 ? lookAhead.getSyntax() : null; nit: ...
9 years ago (2011-12-21 19:29:28 UTC) #4
Brian Wilkerson
I really like moving some of the logic into a builder. If my comments are ...
9 years ago (2011-12-21 19:33:44 UTC) #5
codefu
http://codereview.chromium.org/9006033/diff/6001/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): http://codereview.chromium.org/9006033/diff/6001/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode2077 compiler/java/com/google/dart/compiler/parser/DartParser.java:2077: void add(DartStringLiteral string) { On 2011/12/21 19:33:44, Brian Wilkerson ...
9 years ago (2011-12-21 23:10:30 UTC) #6
codefu
I addressed most of the nits and comments from the previous patch. I spent some ...
9 years ago (2011-12-22 19:11:00 UTC) #7
zundel
lgtm (make sure you file an issue for the other problem you found.)
9 years ago (2011-12-22 19:12:59 UTC) #8
codefu
9 years ago (2011-12-22 19:52:01 UTC) #9
On 2011/12/22 19:12:59, zundel wrote:
> lgtm
> 
> (make sure you file an issue for the other problem you found.)

Done:
http://code.google.com/p/dart/issues/detail?id=946

Powered by Google App Engine
This is Rietveld 408576698