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 4e677928657cb3e4f227e36f17f5adf0be735fbb..3eecc29548bf4f64b72a3cc7e81bea669e187711 100644 |
--- a/pkg/analyzer/lib/src/generated/engine.dart |
+++ b/pkg/analyzer/lib/src/generated/engine.dart |
@@ -1310,6 +1310,18 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
bool implicitCasts = true; |
/** |
+ * A flag indicating whether implicit dynamic type is allowed, on by default. |
+ * |
+ * This flag can be used without necessarily enabling [strongMode], but it is |
+ * designed with strong mode's type inference in mind. Without type inference, |
+ * it will raise many errors. Also it does not provide type safety without |
+ * strong mode. |
+ * |
+ * This option is experimental and subject to change. |
+ */ |
+ bool implicitDynamic = true; |
+ |
+ /** |
* Initialize a newly created set of analysis options to have their default |
* values. |
*/ |
@@ -1341,6 +1353,7 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
if (options is AnalysisOptionsImpl) { |
strongModeHints = options.strongModeHints; |
implicitCasts = options.implicitCasts; |
+ implicitDynamic = options.implicitDynamic; |
} |
trackCacheDependencies = options.trackCacheDependencies; |
} |