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

Issue 10134035: Fix a bug that caused private names from an imported library to be included in the name scope of th… (Closed)

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

Description

Fix a bug that caused private names from an imported library to be included in the name scope of the importing library (issue 2651) Committed: https://code.google.com/p/dart/source/detail?r=6908

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -13 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java View 1 chunk +12 lines, -6 lines 4 comments Download
M compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java View 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-compiler.status View 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Brian Wilkerson
8 years, 8 months ago (2012-04-24 18:16:26 UTC) #1
scheglov
LGTM http://codereview.chromium.org/10134035/diff/1/compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java File compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java (right): http://codereview.chromium.org/10134035/diff/1/compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java#newcode100 compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java:100: if (includePrivate || !element.getName().startsWith("_")) { May be use ...
8 years, 8 months ago (2012-04-24 18:32:11 UTC) #2
Brian Wilkerson
8 years, 8 months ago (2012-04-24 18:47:24 UTC) #3
http://codereview.chromium.org/10134035/diff/1/compiler/java/com/google/dart/...
File compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java
(right):

http://codereview.chromium.org/10134035/diff/1/compiler/java/com/google/dart/...
compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java:100:
if (includePrivate || !element.getName().startsWith("_")) {
Done

http://codereview.chromium.org/10134035/diff/1/compiler/java/com/google/dart/...
compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java:101:
declare(element, listener, scope);
Done

Powered by Google App Engine
This is Rietveld 408576698