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

Issue 10533123: Libraries should know their original URI, not their translated URI. (Closed)

Created:
8 years, 6 months ago by ahe
Modified:
8 years, 6 months ago
Reviewers:
ngeoffray, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Libraries should know their original URI, not their translated URI. For example, a library should know that it is package:a.dart, not file:///.../a.dart. Committed: https://code.google.com/p/dart/source/detail?r=8606

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M dart/lib/compiler/implementation/apiimpl.dart View 1 3 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ahe
This fixes http://code.google.com/p/dart/issues/detail?id=3147 A test is needed, but see: http://code.google.com/p/dart/issues/detail?id=3170 which is blocked on http://code.google.com/p/dart/issues/detail?id=3168
8 years, 6 months ago (2012-06-13 11:26:34 UTC) #1
ahe
8 years, 6 months ago (2012-06-13 11:34:41 UTC) #2
kasperl
LGTM. Do we have a test that covers the stuff in comment 3 in http://code.google.com/p/dart/issues/detail?id=3147#c3? ...
8 years, 6 months ago (2012-06-13 12:17:32 UTC) #3
ahe
On 2012/06/13 12:17:32, kasperl wrote: > LGTM. Do we have a test that covers the ...
8 years, 6 months ago (2012-06-13 12:26:56 UTC) #4
kasperl
On 2012/06/13 12:26:56, ahe wrote: > On 2012/06/13 12:17:32, kasperl wrote: > > LGTM. Do ...
8 years, 6 months ago (2012-06-13 12:28:49 UTC) #5
ngeoffray
LGTM. You can find a test case here: https://chromiumcodereview.appspot.com/10534135/ https://chromiumcodereview.appspot.com/10533123/diff/1/dart/lib/compiler/implementation/apiimpl.dart File dart/lib/compiler/implementation/apiimpl.dart (right): https://chromiumcodereview.appspot.com/10533123/diff/1/dart/lib/compiler/implementation/apiimpl.dart#newcode65 dart/lib/compiler/implementation/apiimpl.dart:65: ...
8 years, 6 months ago (2012-06-13 12:35:54 UTC) #6
ahe
8 years, 6 months ago (2012-06-13 14:20:26 UTC) #7
Thank you.

https://chromiumcodereview.appspot.com/10533123/diff/1/dart/lib/compiler/impl...
File dart/lib/compiler/implementation/apiimpl.dart (right):

https://chromiumcodereview.appspot.com/10533123/diff/1/dart/lib/compiler/impl...
dart/lib/compiler/implementation/apiimpl.dart:65: translateUri(Uri uri,
tree.Node node) {
On 2012/06/13 12:35:54, ngeoffray wrote:
> Missing return type.

Done.

https://chromiumcodereview.appspot.com/10533123/diff/1/dart/lib/compiler/impl...
dart/lib/compiler/implementation/apiimpl.dart:73: translateDartUri(Uri uri,
tree.Node node) {
On 2012/06/13 12:35:54, ngeoffray wrote:
> ditto

Done.

Powered by Google App Engine
This is Rietveld 408576698