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

Issue 11226010: Issue 6073. Fixes for 'export'. (Closed)

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

Description

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -53 lines) Patch
M compiler/java/com/google/dart/compiler/ast/LibraryExport.java View 2 chunks +0 lines, -16 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/LibraryImport.java View 3 chunks +1 line, -17 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/LibraryUnit.java View 1 chunk +7 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/Scope.java View 1 chunk +0 lines, -8 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java View 7 chunks +25 lines, -7 lines 3 comments Download
M compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java View 1 chunk +109 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/utils/utils.status View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/test.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
scheglov
8 years, 2 months ago (2012-10-19 23:08:59 UTC) #1
Brian Wilkerson
https://codereview.chromium.org/11226010/diff/1/compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java File compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java (right): https://codereview.chromium.org/11226010/diff/1/compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java#newcode86 compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java:86: if (processedObjects.add(library)) { I don't understand this. If we've ...
8 years, 2 months ago (2012-10-20 17:39:43 UTC) #2
scheglov
https://codereview.chromium.org/11226010/diff/1/compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java File compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java (right): https://codereview.chromium.org/11226010/diff/1/compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java#newcode86 compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java:86: if (processedObjects.add(library)) { On 2012/10/20 17:39:43, Brian Wilkerson wrote: ...
8 years, 2 months ago (2012-10-20 18:21:27 UTC) #3
Brian Wilkerson
8 years, 2 months ago (2012-10-20 19:05:18 UTC) #4
LGTM

https://codereview.chromium.org/11226010/diff/1/compiler/java/com/google/dart...
File compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java
(right):

https://codereview.chromium.org/11226010/diff/1/compiler/java/com/google/dart...
compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java:86:
if (processedObjects.add(library)) {
> We need this for the case when library A imports B and B imports A, and B
> reexports something from C, which is used by A.

Ah! The joys of mutually recursive libraries! Thanks, I understand now.

Powered by Google App Engine
This is Rietveld 408576698