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

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

Issue 15985005: Re-apply: Fix type propagation bug by always narrowing types. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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
Index: tests/compiler/dart2js/compiler_helper.dart
===================================================================
--- tests/compiler/dart2js/compiler_helper.dart (revision 23577)
+++ tests/compiler/dart2js/compiler_helper.dart (working copy)
@@ -53,6 +53,9 @@
MockCompiler compiler =
new MockCompiler(enableTypeAssertions: enableTypeAssertions,
coreSource: coreSource,
+ // Type inference does not run when manually
+ // compiling a method.
+ disableTypeInference: true,
interceptorsSource: interceptorsSource,
enableMinification: minify);
compiler.parseScript(code);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698