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

Issue 9138023: More setting of symbols on identifiers (Closed)

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

Description

More setting of symbols on identifiers Konstantin was right in http://codereview.chromium.org/9150044/ I should have included a unit test. This change includes a hand written unit test for identifiers being set properly on class/interface definition variants, and fixes to the ResolverAuditVisitor (it was not catching many problems in just those cases). Committed: https://code.google.com/p/dart/source/detail?r=3459

Patch Set 1 : Fix copyrights #

Total comments: 2

Patch Set 2 : Changes many assertEquals() to assertSame() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -9 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/Elements.java View 2 chunks +4 lines, -2 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/Resolver.java View 2 chunks +3 lines, -3 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java View 2 chunks +2 lines, -1 line 0 comments Download
M compiler/javatests/com/google/dart/compiler/CompilerTestCase.java View 2 chunks +5 lines, -1 line 0 comments Download
A compiler/javatests/com/google/dart/compiler/resolver/ResolverAuditVisitor.java View 1 chunk +80 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java View 1 4 chunks +136 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
zundel
8 years, 11 months ago (2012-01-20 17:01:45 UTC) #1
scheglov
https://chromiumcodereview.appspot.com/9138023/diff/3007/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java File compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java (right): https://chromiumcodereview.appspot.com/9138023/diff/3007/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java#newcode95 compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java:95: assertEquals(A.getSymbol(), A.getName().getSymbol()); assertSame? Do we anticipate using equal, but ...
8 years, 11 months ago (2012-01-20 17:24:18 UTC) #2
zundel
Updated patch https://chromiumcodereview.appspot.com/9138023/diff/3007/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java File compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java (right): https://chromiumcodereview.appspot.com/9138023/diff/3007/compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java#newcode95 compiler/javatests/com/google/dart/compiler/resolver/ResolverCompilerTest.java:95: assertEquals(A.getSymbol(), A.getName().getSymbol()); On 2012/01/20 17:24:18, scheglov wrote: ...
8 years, 11 months ago (2012-01-20 17:40:45 UTC) #3
scheglov
8 years, 11 months ago (2012-01-20 17:48:36 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698