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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java

Issue 592923002: Put union types behind a flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make union-type options available in [AnalysisEngine]. Created 6 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
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
index 75e4449f2debba76be02275223d11ca82850e33c..ef9f242a4e7c04d6d55d1c78ab5175f3af6607e2 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
@@ -20,6 +20,7 @@ import com.google.dart.engine.source.Source;
public class NonHintCodeTest extends ResolverTestCase {
public void fail_issue20904BuggyTypePromotionAtIfJoin_2() throws Exception {
// https://code.google.com/p/dart/issues/detail?id=20904
+ enableUnionTypes(false);
Source source = addSource(createSource(//
"f(var message) {",
" if (message is Function) {",

Powered by Google App Engine
This is Rietveld 408576698