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

Unified Diff: lib/compiler/implementation/dart_backend/backend.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « no previous file | lib/compiler/implementation/js/printer.dart » ('j') | tests/co19/co19-compiler.status » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index 32ee597324b73c0fbd6bcee58f3c6aa5dee4798d..f00849a9cd12c1bf3ec3e53cc938f635e6a16ace 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -237,7 +237,7 @@ class DartBackend extends Backend {
// Fetch name of named constructors and factories if any,
// otherwise store regular name.
// TODO(antonm): better way to analyze the name.
- fixedMemberNames.add(name.split(r'$').last());
+ fixedMemberNames.add(name.split(r'$').last);
}
}
// Even class names are added due to a delicate problem we have:
« no previous file with comments | « no previous file | lib/compiler/implementation/js/printer.dart » ('j') | tests/co19/co19-compiler.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698