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

Unified Diff: dart/pkg/polymer/test/unbind_test.dart

Issue 23455028: Mirrors overhaul. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r29550. 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 | « dart/pkg/polymer/lib/src/declaration.dart ('k') | dart/pkg/polymer_expressions/lib/src/mirrors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/polymer/test/unbind_test.dart
diff --git a/dart/pkg/polymer/test/unbind_test.dart b/dart/pkg/polymer/test/unbind_test.dart
index c6d2d6aa011ede828d5ab200355a40356064c2c3..4dc961d7cb959dbc954c5ed9a509987ef51d3f2e 100644
--- a/dart/pkg/polymer/test/unbind_test.dart
+++ b/dart/pkg/polymer/test/unbind_test.dart
@@ -63,7 +63,7 @@ Future testAsync(List<Function> tests, int delayMs, [List args]) {
delay(x) => new Future.delayed(new Duration(milliseconds: 50), () => x);
// TODO(jmesserly): fix this when it's easier to get a private symbol.
-final unboundSymbol = reflectClass(Polymer).variables.keys
+final unboundSymbol = reflectClass(Polymer).declarations.keys
.firstWhere((s) => MirrorSystem.getName(s) == '_unbound');
_unbound(node) => reflect(node).getField(unboundSymbol).reflectee;
« no previous file with comments | « dart/pkg/polymer/lib/src/declaration.dart ('k') | dart/pkg/polymer_expressions/lib/src/mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698