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

Unified Diff: pkg/polymer_expressions/lib/src/mirrors.dart

Issue 26734004: use symbol literals instead of const ctor in packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « pkg/polymer_expressions/lib/polymer_expressions.dart ('k') | pkg/polymer_expressions/test/eval_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer_expressions/lib/src/mirrors.dart
diff --git a/pkg/polymer_expressions/lib/src/mirrors.dart b/pkg/polymer_expressions/lib/src/mirrors.dart
index a58e7398546d76e473873df8c2eafc23d68c9859..f556905a0b0309a316aea32c8335583960ade7d8 100644
--- a/pkg/polymer_expressions/lib/src/mirrors.dart
+++ b/pkg/polymer_expressions/lib/src/mirrors.dart
@@ -38,5 +38,5 @@ Mirror getMemberMirror(ClassMirror classMirror, Symbol name) {
bool hasSuperclass(ClassMirror classMirror) {
var superclass = classMirror.superclass;
return (superclass != null) &&
- (superclass.qualifiedName != const Symbol('dart.core.Object'));
+ (superclass.qualifiedName != #dart.core.Object);
}
« no previous file with comments | « pkg/polymer_expressions/lib/polymer_expressions.dart ('k') | pkg/polymer_expressions/test/eval_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698