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

Issue 10536031: Fix for issue 3401: Implement casts in Analyzer (Closed)

Created:
8 years, 6 months ago by Brian Wilkerson
Modified:
8 years, 6 months ago
Reviewers:
messick, scheglov, zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix for issue 3401: Implement casts in Analyzer Committed: https://code.google.com/p/dart/source/detail?r=8397

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Messages

Total messages: 12 (0 generated)
Brian Wilkerson
8 years, 6 months ago (2012-06-06 16:57:55 UTC) #1
zundel
On 2012/06/06 16:57:55, Brian Wilkerson wrote: Did you run ./tools/build.py ; ./tools/test.py -c dartc -r ...
8 years, 6 months ago (2012-06-06 17:21:10 UTC) #2
zundel
http://codereview.chromium.org/10536031/diff/1/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java File compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java (right): http://codereview.chromium.org/10536031/diff/1/compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java#newcode193 compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java:193: assertTrue(cast.getArg2() instanceof DartTypeExpression); Shouldn't this affect type inference as ...
8 years, 6 months ago (2012-06-06 17:25:34 UTC) #3
Brian Wilkerson
> Did you run ... after compiling this patch? Yes. > If there are some ...
8 years, 6 months ago (2012-06-06 17:25:59 UTC) #4
scheglov
http://codereview.chromium.org/10536031/diff/1/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java File compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java (right): http://codereview.chromium.org/10536031/diff/1/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java#newcode696 compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java:696: variableRestorer.setType(variableElement, varType); Note, that inferVariableTypesFromIsNotConditions() is used for the ...
8 years, 6 months ago (2012-06-06 17:45:50 UTC) #5
messick
lgtm
8 years, 6 months ago (2012-06-06 17:45:54 UTC) #6
zundel
On 2012/06/06 17:25:59, Brian Wilkerson wrote: > > Did you run ... after compiling this ...
8 years, 6 months ago (2012-06-06 17:58:06 UTC) #7
Brian Wilkerson
I have written the language tests, but have two questions. First, should I include them ...
8 years, 6 months ago (2012-06-06 21:40:28 UTC) #8
zundel
On 2012/06/06 21:40:28, Brian Wilkerson wrote: > I have written the language tests, but have ...
8 years, 6 months ago (2012-06-06 22:13:27 UTC) #9
scheglov
lgtm
8 years, 6 months ago (2012-06-06 23:53:42 UTC) #10
Brian Wilkerson
So while I was trying to figure out how to mark the language tests that ...
8 years, 6 months ago (2012-06-07 15:28:46 UTC) #11
zundel
8 years, 6 months ago (2012-06-07 16:34:38 UTC) #12
LGTM, those tests look sufficient.

Powered by Google App Engine
This is Rietveld 408576698