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

Unified Diff: tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart

Issue 1355563002: Abandon type inference on closures that (potentially) flow into Function.apply. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/compiler/dart2js/dart2js.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart
index e6d2e9210606dfeaca1580bb3d8bb1d653f0250a..b5bc4e6818e7f0bc090f1b2848c803f7a1ab76ce 100644
--- a/tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart
@@ -71,8 +71,8 @@ void main() {
checkArgument('foo2', compiler.typesTask.functionType); /// 02: ok
checkArgument('foo3', compiler.typesTask.functionType); /// 03: ok
checkArgument('foo4', compiler.typesTask.functionType); /// 04: ok
- checkArgument('foo5', compiler.typesTask.functionType); /// 05: ok
- checkArgument('foo6', compiler.typesTask.functionType); /// 06: ok
+ checkArgument('foo5', compiler.typesTask.dynamicType); /// 05: ok
+ checkArgument('foo6', compiler.typesTask.dynamicType); /// 06: ok
checkArgument('defaultFn1', compiler.typesTask.uint31Type); /// 07: ok
checkArgument('defaultFn2', compiler.typesTask.uint31Type); /// 08: ok
« no previous file with comments | « tests/compiler/dart2js/dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698