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

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

Issue 871863006: Enable enums by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove the field in Compiler. Created 5 years, 11 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/resolver_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_checker_test.dart
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
index 7f70d7d3e23aa55e606908446d2473c6059fdf20..697a866ff16f899128b8b36939a548122d09d417 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -176,7 +176,7 @@ enum Enum { A, B, C }
""";
check(String code, {warnings}) {
- MockCompiler compiler = new MockCompiler.internal(enableEnums: true);
+ MockCompiler compiler = new MockCompiler.internal();
return compiler.init(DECLARATIONS).then((_) {
analyze(compiler, code, warnings: warnings, flushDeferred: true);
});
« no previous file with comments | « tests/compiler/dart2js/resolver_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698