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

Issue 2495613004: Allow a URI to designate a library as of a "part of" declaration.

Created:
4 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
4 years, 1 month ago
Reviewers:
floitsch, eernst
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Allow a URI to designate a library as of a "part of" declaration.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M docs/language/dartLangSpec.tex View 2 chunks +15 lines, -5 lines 3 comments Download

Messages

Total messages: 5 (1 generated)
Lasse Reichstein Nielsen
4 years, 1 month ago (2016-11-11 09:25:35 UTC) #2
eernst
LGTM, with just one question. https://codereview.chromium.org/2495613004/diff/1/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2495613004/diff/1/docs/language/dartLangSpec.tex#newcode7000 docs/language/dartLangSpec.tex:7000: Otherwise, any relative URI ...
4 years, 1 month ago (2016-11-11 10:37:42 UTC) #3
Lasse Reichstein Nielsen
We're probably not changing this for 1.50. (Still, I have implementations for the VM and ...
4 years, 1 month ago (2016-11-18 09:50:25 UTC) #4
eernst
4 years, 1 month ago (2016-11-18 13:12:06 UTC) #5
And still LGTM, of course.

https://codereview.chromium.org/2495613004/diff/1/docs/language/dartLangSpec.tex
File docs/language/dartLangSpec.tex (right):

https://codereview.chromium.org/2495613004/diff/1/docs/language/dartLangSpec....
docs/language/dartLangSpec.tex:7000: Otherwise, any relative URI reference is
interpreted as relative to the location of the current library. All further
interpretation of URIs is implementation dependent.
On 2016/11/18 09:50:24, Lasse Reichstein Nielsen wrote:
> Because a URI cannot be relative, but a URI reference can. It's all part of
the
> nitty gritty details of RFC-3986, but a relative path is not a "URI". You
> resolve a URI reference relative to a URI to produce a new URI.
> 
> Our Uri class confuses this by covering both URI and URI reference - because
> most users don't know the difference and can't be bothered to distinguish -
but
> the spec shouldn't be excused for not knowing what the words it uses actually
> means.

Wow! - acknowledged.

Powered by Google App Engine
This is Rietveld 408576698