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

Issue 9296016: Issue 1251. Check for getter existence. (Closed)

Created:
8 years, 11 months ago by scheglov
Modified:
8 years, 10 months ago
Reviewers:
zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check also for getter only properties #

Patch Set 3 : Tweak comments #

Total comments: 2

Patch Set 4 : Test for chained invocation before field access #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -0 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java View 1 1 chunk +2 lines, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 1 2 4 chunks +90 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scheglov
8 years, 11 months ago (2012-01-27 20:15:30 UTC) #1
zundel
https://chromiumcodereview.appspot.com/9296016/diff/1/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right): https://chromiumcodereview.appspot.com/9296016/diff/1/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java#newcode1305 compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:1305: FieldElement fieldElement = (FieldElement) element; I didn't think about ...
8 years, 11 months ago (2012-01-27 20:40:46 UTC) #2
scheglov
https://chromiumcodereview.appspot.com/9296016/diff/1/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right): https://chromiumcodereview.appspot.com/9296016/diff/1/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java#newcode1305 compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:1305: FieldElement fieldElement = (FieldElement) element; On 2012/01/27 20:40:46, zundel ...
8 years, 10 months ago (2012-01-30 15:09:27 UTC) #3
zundel
https://chromiumcodereview.appspot.com/9296016/diff/6001/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right): https://chromiumcodereview.appspot.com/9296016/diff/6001/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java#newcode1334 compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:1334: if (node.getParent() instanceof DartBinaryExpression) { I don't think this ...
8 years, 10 months ago (2012-01-30 16:17:03 UTC) #4
scheglov
https://chromiumcodereview.appspot.com/9296016/diff/6001/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right): https://chromiumcodereview.appspot.com/9296016/diff/6001/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java#newcode1334 compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:1334: if (node.getParent() instanceof DartBinaryExpression) { On 2012/01/30 16:17:03, zundel ...
8 years, 10 months ago (2012-01-30 17:28:19 UTC) #5
zundel
8 years, 10 months ago (2012-01-30 17:35:08 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698