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

Unified Diff: lib/compiler/implementation/util/uri_extras.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « lib/compiler/implementation/ssa/tracer.dart ('k') | lib/core/list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « lib/compiler/implementation/ssa/tracer.dart ('k') | lib/core/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698