Index: pkg/analyzer/lib/src/generated/engine.dart |
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart |
index c653b6eebafe1908d0e228234c3d99ca5b6de86c..61816abfc77dd97d5328a247a56deae4088e0948 100644 |
--- a/pkg/analyzer/lib/src/generated/engine.dart |
+++ b/pkg/analyzer/lib/src/generated/engine.dart |
@@ -1295,6 +1295,14 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
bool trackCacheDependencies = true; |
/** |
+ * A flag indicating whether implicit casts are allowed in [strongMode] |
+ * (they are always allowed in Dart 1.0 mode). |
+ * |
+ * This option is experimental and subject to change. |
+ */ |
+ bool implicitCasts = true; |
+ |
+ /** |
* Initialize a newly created set of analysis options to have their default |
* values. |
*/ |
@@ -1325,6 +1333,7 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
strongMode = options.strongMode; |
if (options is AnalysisOptionsImpl) { |
strongModeHints = options.strongModeHints; |
+ implicitCasts = options.implicitCasts; |
} |
trackCacheDependencies = options.trackCacheDependencies; |
} |