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

Issue 11037010: Fix NPT when visiting qualifier in property access (Closed)

Created:
8 years, 2 months ago by danrubel
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix NPT when visiting qualifier in property access Committed: https://code.google.com/p/dart/source/detail?r=13094

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java View 1 chunk +3 lines, -1 line 1 comment Download

Messages

Total messages: 3 (0 generated)
danrubel
8 years, 2 months ago (2012-10-02 00:45:46 UTC) #1
scheglov
LGTM
8 years, 2 months ago (2012-10-02 00:46:54 UTC) #2
Brian Wilkerson
8 years, 2 months ago (2012-10-02 13:14:22 UTC) #3
https://codereview.chromium.org/11037010/diff/1/compiler/java/com/google/dart...
File compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java
(right):

https://codereview.chromium.org/11037010/diff/1/compiler/java/com/google/dart...
compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java:677:
accept(x.getQualifier());
It might have been better for the invocation of 'accept' to go into the 'else'
clause below (without the surrounding 'if'). The qualifier should only be null
if it is part of a cascade section, and that would have made the semantics more
clear.

Powered by Google App Engine
This is Rietveld 408576698