Skip to content

Spec: specify what URIs in imports resolve against #2294

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


The specification (0.08) in sections Imports and Includes refers to URIs, e.g. "An import provides a URI where the declaration of the imported library is to be found."

It does not specify what a relative URI would resolve against, options would be the URI of the "main" dart file that's imported first, the URI of the HTML file that embeds the Dart application, or the current source file (which appears to be what's implemented at the moment).

It also does not specify which URI spec should be applied, RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt), RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt), or even RFC 1630 (http://www.ietf.org/rfc/rfc1630.txt, really old and obsolete).

Metadata

Metadata

Assignees

Labels

area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions