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

Unified Diff: lib/core/expando.dart

Issue 10909209: Eliminate the const constructor from the Expando class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years, 3 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/lib/core_patch.dart ('k') | runtime/lib/expando_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/expando.dart
diff --git a/lib/core/expando.dart b/lib/core/expando.dart
index 901cee5c29ed24d621ed3d940031bd33c43c5745..f027893ece0b0d39af2668229415b43909f28d61 100644
--- a/lib/core/expando.dart
+++ b/lib/core/expando.dart
@@ -15,11 +15,11 @@ class Expando<T> {
/**
* Creates a new [Expando]. The optional name is only used for
- * debugging purposes and creating two different (non-const)
- * [Expando]s with the same name yields two [Expando]s that work on
- * different properties of the objects they are used on.
+ * debugging purposes and creating two different [Expando]s with the
+ * same name yields two [Expando]s that work on different properties
+ * of the objects they are used on.
*/
- const Expando([String this.name]);
+ external Expando([String name]);
/**
* Expando toString method override.
« no previous file with comments | « lib/compiler/implementation/lib/core_patch.dart ('k') | runtime/lib/expando_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698