| Index: tests/compiler/dart2js/mock_compiler.dart
|
| diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
|
| index 2414c4b70f22032b34ac882f1eccdda0b2f01bb3..2d40fc99dfa36f1c54fc8aa3b784150ac71b210b 100644
|
| --- a/tests/compiler/dart2js/mock_compiler.dart
|
| +++ b/tests/compiler/dart2js/mock_compiler.dart
|
| @@ -74,7 +74,6 @@ class MockCompiler extends Compiler {
|
| // affected by inlining support.
|
| bool disableInlining: true,
|
| bool trustTypeAnnotations: false,
|
| - bool enableEnums: false,
|
| int this.expectedWarnings,
|
| int this.expectedErrors,
|
| api.CompilerOutputProvider outputProvider,
|
| @@ -92,7 +91,6 @@ class MockCompiler extends Compiler {
|
| preserveComments: preserveComments,
|
| trustTypeAnnotations: trustTypeAnnotations,
|
| showPackageWarnings: true,
|
| - enableEnums: enableEnums,
|
| outputProvider: outputProvider) {
|
| this.disableInlining = disableInlining;
|
|
|
| @@ -274,10 +272,8 @@ class MockCompiler extends Compiler {
|
| }
|
|
|
| /// Create a new [MockCompiler] and apply it asynchronously to [f].
|
| - static Future create(f(MockCompiler compiler),
|
| - {bool enableEnums: false}) {
|
| - MockCompiler compiler = new MockCompiler.internal(
|
| - enableEnums: enableEnums);
|
| + static Future create(f(MockCompiler compiler)) {
|
| + MockCompiler compiler = new MockCompiler.internal();
|
| return compiler.init().then((_) => f(compiler));
|
| }
|
| }
|
|
|