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

Issue 1205373002: Translate package URIs to resource URIs for diagnostics. (Closed)

Created:
5 years, 6 months ago by Johnni Winther
Modified:
5 years, 5 months ago
Reviewers:
ahe, Harry Terkelsen
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Translate package URIs to resource URIs for diagnostics. Closes #23699 BUG=http://dartbug.com/23699 R=ahe@google.com, het@google.com Committed: https://github.com/dart-lang/sdk/commit/76f1fec4f9e9162e8325570255d1ad71ba26e9a2

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use resourceUri instead of readableUri in source spans. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -63 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/mirrors/dart2js_mirrors.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/memory_compiler.dart View 3 chunks +29 lines, -17 lines 0 comments Download
M tests/compiler/dart2js/package_root_test.dart View 2 chunks +59 lines, -40 lines 0 comments Download
M tests/compiler/dart2js/show_package_warnings_test.dart View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Johnni Winther
5 years, 6 months ago (2015-06-25 10:06:38 UTC) #2
Harry Terkelsen
lgtm
5 years, 6 months ago (2015-06-25 18:24:37 UTC) #3
ahe
This looks like a hack to me. Am I misunderstanding something? https://codereview.chromium.org/1205373002/diff/1/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): ...
5 years, 6 months ago (2015-06-26 07:56:06 UTC) #4
Johnni Winther
https://codereview.chromium.org/1205373002/diff/1/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1205373002/diff/1/pkg/compiler/lib/src/apiimpl.dart#newcode427 pkg/compiler/lib/src/apiimpl.dart:427: Uri uri = translateUri(null, span.uri); On 2015/06/26 07:56:05, ahe ...
5 years, 6 months ago (2015-06-26 10:15:06 UTC) #5
Johnni Winther
PTAL @ the last patch https://codereview.chromium.org/1205373002/diff/1/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1205373002/diff/1/pkg/compiler/lib/src/apiimpl.dart#newcode427 pkg/compiler/lib/src/apiimpl.dart:427: Uri uri = translateUri(null, ...
5 years, 6 months ago (2015-06-26 17:06:54 UTC) #6
Johnni Winther
Ping
5 years, 5 months ago (2015-06-29 12:41:38 UTC) #7
ahe
LGTM!
5 years, 5 months ago (2015-06-29 14:04:52 UTC) #8
Johnni Winther
5 years, 5 months ago (2015-06-29 15:13:39 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
76f1fec4f9e9162e8325570255d1ad71ba26e9a2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698