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

Unified Diff: tests/lib/mirrors/invoke_call_through_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/lib.status ('k') | tests/lib/mirrors/invoke_call_through_getter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/invoke_call_through_getter_previously_accessed_test.dart
diff --git a/tests/lib/mirrors/invoke_call_through_getter_previously_accessed_test.dart b/tests/lib/mirrors/invoke_call_through_getter_previously_accessed_test.dart
index 893b83cba4f990b328a96c2661226b0d79b9fcad..0b78ec2d53a51336d15cb43e8bc61c3caaf8978a 100644
--- a/tests/lib/mirrors/invoke_call_through_getter_previously_accessed_test.dart
+++ b/tests/lib/mirrors/invoke_call_through_getter_previously_accessed_test.dart
@@ -55,10 +55,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/lib.status ('k') | tests/lib/mirrors/invoke_call_through_getter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698