Index: pkg/compiler/lib/src/dart2js.dart |
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart |
index 662316bcd69ac7196a889f7acc55f2b44a05618d..06cb6869efd96786c5b3918c20dc62dbd722a554 100644 |
--- a/pkg/compiler/lib/src/dart2js.dart |
+++ b/pkg/compiler/lib/src/dart2js.dart |
@@ -350,7 +350,7 @@ Future<api.CompilationResult> compile(List<String> argv) { |
new OptionHandler(Flags.dumpInfo, setDumpInfo), |
new OptionHandler('--disallow-unsafe-eval', |
(_) => hasDisallowUnsafeEval = true), |
- new OptionHandler(Flags.showPackageWarnings, passThrough), |
+ new OptionHandler(Option.showPackageWarnings, passThrough), |
new OptionHandler(Flags.useContentSecurityPolicy, passThrough), |
new OptionHandler(Flags.enableExperimentalMirrors, passThrough), |
new OptionHandler(Flags.enableAssertMessage, passThrough), |