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

Unified Diff: sdk/lib/_internal/compiler/implementation/apiimpl.dart

Issue 12254010: Make Uri.isAbsolute and Uri.hasAuthority getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/library_loader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/apiimpl.dart
diff --git a/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
index 663e003bc4f596d883af15382894afef2e779fbd..c9759f3cfa7a411599bfcb5a313db29fa83f8234 100644
--- a/sdk/lib/_internal/compiler/implementation/apiimpl.dart
+++ b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
@@ -134,7 +134,7 @@ class Compiler extends leg.Compiler {
* Reads the script designated by [readableUri].
*/
leg.Script readScript(Uri readableUri, [tree.Node node]) {
- if (!readableUri.isAbsolute()) {
+ if (!readableUri.isAbsolute) {
internalError('Relative uri $readableUri provided to readScript(Uri)',
node: node);
}
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/library_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698