Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java |
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java |
index 7b976ecd58ced3424717d53d186702b6af27dab4..b77b81106c865dfb4949b49cc4c6188bfe978979 100644 |
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java |
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java |
@@ -47,6 +47,7 @@ import junit.framework.AssertionFailedError; |
public class TypePropagationTest extends ResolverTestCase { |
public void fail_issue20904BuggyTypePromotionAtIfJoin_2() throws Exception { |
// https://code.google.com/p/dart/issues/detail?id=20904 |
+ enableUnionTypes(false); |
String code = createSource(// |
"f(var message) {", |
" if (message is Function) {", |
@@ -1181,6 +1182,7 @@ public class TypePropagationTest extends ResolverTestCase { |
// This is tricky: the [break] jumps back above the [if], making |
// it into a loop of sorts. The [if] type-propagation code assumes |
// that [break] does not introduce a loop. |
+ enableUnionTypes(false); |
String code = createSource( |
"f() {", |
" var x = 0;", |