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

Issue 2242883003: Fix resolveRelativeUri() to handle correctly empty contained Uri(s). (Closed)

Created:
4 years, 4 months ago by scheglov
Modified:
4 years, 4 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix resolveRelativeUri() to handle correctly empty contained Uri(s). This was breaking linking with `package` Uri(s). I also added a new test that exhibits this behaviour. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/df4baa4332e904bf289381039d2076c8b8ab3299

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -54 lines) Patch
M pkg/analyzer/lib/src/generated/utilities_dart.dart View 1 chunk +5 lines, -12 lines 0 comments Download
M pkg/analyzer/test/generated/all_the_rest_test.dart View 1 chunk +23 lines, -38 lines 2 comments Download
M pkg/analyzer/test/src/summary/linker_test.dart View 1 chunk +19 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
4 years, 4 months ago (2016-08-12 17:09:32 UTC) #1
Brian Wilkerson
lgtm
4 years, 4 months ago (2016-08-12 17:15:13 UTC) #2
Paul Berry
lgtm, however I'm surprised it was necessary to change resolveRelativeUri() in order to get the ...
4 years, 4 months ago (2016-08-12 17:51:18 UTC) #3
scheglov
Uri.resolveUri() already handles empty contained Uri(s) this way. We just fix resolveRelativeUri() to special handle ...
4 years, 4 months ago (2016-08-12 17:58:06 UTC) #4
scheglov
4 years, 4 months ago (2016-08-12 17:59:40 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
df4baa4332e904bf289381039d2076c8b8ab3299 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698