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

Unified Diff: dart/pkg/observe/test/path_observer_test.dart

Issue 96063006: Add @reflectable to NoSuchMethodModel (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Moved annotation and added TODO Created 7 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/observe/test/path_observer_test.dart
diff --git a/dart/pkg/observe/test/path_observer_test.dart b/dart/pkg/observe/test/path_observer_test.dart
index 10378fa64278b95f80a949d945ef7d8661502bec..dcb8853ba963622cbeffef0c4d567caac3e6b956 100644
--- a/dart/pkg/observe/test/path_observer_test.dart
+++ b/dart/pkg/observe/test/path_observer_test.dart
@@ -315,7 +315,9 @@ class NoSuchMethodModel {
var _foo = 42;
List log = [];
- noSuchMethod(Invocation invocation) {
+ // TODO(ahe): Remove @reflectable from here (once either of
+ // http://dartbug.com/15408 or http://dartbug.com/15409 are fixed).
+ @reflectable noSuchMethod(Invocation invocation) {
final name = invocation.memberName;
log.add(name);
if (name == #foo && invocation.isGetter) return _foo;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698