Index: lib/compiler/implementation/util/uri_extras.dart |
diff --git a/lib/compiler/implementation/util/uri_extras.dart b/lib/compiler/implementation/util/uri_extras.dart |
index 6c3d7678994252fd94e6c2df8f793d1f0694c501..aa2f93a5d3abef45662b9769cb7de8bd096c8071 100644 |
--- a/lib/compiler/implementation/util/uri_extras.dart |
+++ b/lib/compiler/implementation/util/uri_extras.dart |
@@ -58,7 +58,7 @@ String relativize(Uri base, Uri uri, bool isWindows) { |
for (int i = common; i < uriParts.length - 1; i++) { |
sb.add('${uriParts[i]}/'); |
} |
- sb.add('${uriParts.last()}'); |
+ sb.add('${uriParts.last}'); |
return sb.toString(); |
} |
return uri.toString(); |