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

Unified Diff: tests/lib/mirrors/invoke_call_through_implicit_getter_previously_accessed_test.dart

Issue 294293003: Allow delegate calls even though the target is not reflectable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: TearoffClosure is superclass of BoundClosure. Created 6 years, 7 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 | « tests/lib/mirrors/invoke_call_through_getter_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/invoke_call_through_implicit_getter_previously_accessed_test.dart
diff --git a/tests/lib/mirrors/invoke_call_through_implicit_getter_previously_accessed_test.dart b/tests/lib/mirrors/invoke_call_through_implicit_getter_previously_accessed_test.dart
index a65c82d4264d5a88cf5c53b370bd3631f42d1914..e30b0c33abfbeeeb70b0915607535d9431876351 100644
--- a/tests/lib/mirrors/invoke_call_through_implicit_getter_previously_accessed_test.dart
+++ b/tests/lib/mirrors/invoke_call_through_implicit_getter_previously_accessed_test.dart
@@ -61,10 +61,10 @@ testInstanceReflective() {
im.invoke(#closureNamed, [14, 15], {#w: 16}).reflectee); /// named: continued
Expect.equals('DNU',
im.invoke(#doesNotExist, [17, 18]).reflectee);
- Expect.throws(() => im.invoke(#closure, ['wrong arity']), /// getter_call_stub: ok
- (e) => e is NoSuchMethodError); /// getter_call_stub: continued
- Expect.throws(() => im.invoke(#notAClosure, []), /// getter_call_stub: continued
- (e) => e is NoSuchMethodError); /// getter_call_stub: continued
+ Expect.throws(() => im.invoke(#closure, ['wrong arity']),
+ (e) => e is NoSuchMethodError);
+ Expect.throws(() => im.invoke(#notAClosure, []),
+ (e) => e is NoSuchMethodError);
}
class D {
« no previous file with comments | « tests/lib/mirrors/invoke_call_through_getter_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698