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

Issue 23613006: Do not export library prefix names used in a library (Closed)

Created:
7 years, 3 months ago by hausner
Modified:
7 years, 3 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, kasperl
Visibility:
Public.

Description

Do not export library prefix names used in a library The spec is unclear whether library prefix names are part of the export namespace of a library or whether they are private to that library. The latter makes more sense and is what dart2js implements, so here's a VM change that implements the same behavior. Spec will be clarified. Fixes issue 12713. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=27079

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -2 lines) Patch
M runtime/vm/object.cc View 1 2 1 chunk +3 lines, -2 lines 2 comments Download
A tests/language/prefix24_lib1.dart View 1 chunk +12 lines, -0 lines 0 comments Download
A tests/language/prefix24_lib2.dart View 1 chunk +7 lines, -0 lines 0 comments Download
A tests/language/prefix24_lib3.dart View 1 chunk +9 lines, -0 lines 0 comments Download
A tests/language/prefix24_test.dart View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
hausner
7 years, 3 months ago (2013-09-03 21:04:42 UTC) #1
Ivan Posva
LGTM with a simple question about conflicts and re-exports. -Ivan https://codereview.chromium.org/23613006/diff/7001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/23613006/diff/7001/runtime/vm/object.cc#newcode7699 ...
7 years, 3 months ago (2013-09-03 21:56:05 UTC) #2
hausner
https://codereview.chromium.org/23613006/diff/7001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/23613006/diff/7001/runtime/vm/object.cc#newcode7699 runtime/vm/object.cc:7699: obj = lib.LookupExport(name); On 2013/09/03 21:56:06, Ivan Posva wrote: ...
7 years, 3 months ago (2013-09-03 22:19:09 UTC) #3
hausner
7 years, 3 months ago (2013-09-03 22:19:34 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r27079 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698