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

Unified Diff: tests/language/typedef_is_test.dart

Issue 12940010: Update function subtyping rules to latest spec (issue 9057). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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/language/language_dart2js.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/typedef_is_test.dart
===================================================================
--- tests/language/typedef_is_test.dart (revision 20492)
+++ tests/language/typedef_is_test.dart (working copy)
@@ -59,9 +59,9 @@
Expect.isFalse(func5 is Func7);
int func6([int i, int j, int k]) {}
- Expect.isFalse(func6 is Func1);
- Expect.isFalse(func6 is Func2);
- Expect.isFalse(func6 is Func3);
+ Expect.isTrue(func6 is Func1);
+ Expect.isTrue(func6 is Func2);
+ Expect.isTrue(func6 is Func3);
Expect.isTrue(func6 is Func4);
Expect.isFalse(func6 is Func5);
Expect.isFalse(func6 is Func6);
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698