Index: pkg/analyzer_cli/lib/src/driver.dart |
diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart |
index b78389390303923106f8b3b262076a09083b2500..46316b793d38f41e0931d9d96571f81848d374a4 100644 |
--- a/pkg/analyzer_cli/lib/src/driver.dart |
+++ b/pkg/analyzer_cli/lib/src/driver.dart |
@@ -648,6 +648,8 @@ class Driver implements CommandLineStarter { |
contextOptions.generateSdkErrors = options.showSdkWarnings; |
contextOptions.lint = options.lints; |
contextOptions.strongMode = options.strongMode; |
+ contextOptions.implicitCasts = options.implicitCasts; |
+ contextOptions.implicitDynamic = options.implicitDynamic; |
return contextOptions; |
} |