Index: pkg/compiler/lib/src/apiimpl.dart |
diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart |
index a81aabc837a3e89c78c6acd9d4c75bee50c21a53..26ee50fcfcfb5919c4ae9fd106e925ff24d0c2d9 100644 |
--- a/pkg/compiler/lib/src/apiimpl.dart |
+++ b/pkg/compiler/lib/src/apiimpl.dart |
@@ -78,7 +78,8 @@ class Compiler extends leg.Compiler { |
forceIncrementalSupport || |
hasOption(options, '--incremental-support'), |
suppressWarnings: hasOption(options, '--suppress-warnings'), |
- enableAsyncAwait: hasOption(options, '--enable-async')) { |
+ enableAsyncAwait: hasOption(options, '--enable-async'), |
+ enableEnums: hasOption(options, '--enable-enum')) { |
tasks.addAll([ |
userHandlerTask = new leg.GenericTask('Diagnostic handler', this), |
userProviderTask = new leg.GenericTask('Input provider', this), |