@@ -472,12 +472,6 @@ class AnalysisOptionsImpl implements AnalysisOptions {
472472 @override
473473 bool preserveComments = true ;
474474
475- /// A flag indicating whether strong-mode inference hints should be
476- /// used. This flag is not exposed in the interface, and should be
477- /// replaced by something more general.
478- // TODO(leafp): replace this with something more general
479- bool strongModeHints = false ;
480-
481475 @override
482476 bool trackCacheDependencies = true ;
483477
@@ -541,7 +535,6 @@ class AnalysisOptionsImpl implements AnalysisOptions {
541535 preserveComments = options.preserveComments;
542536 useFastaParser = options.useFastaParser;
543537 if (options is AnalysisOptionsImpl ) {
544- strongModeHints = options.strongModeHints;
545538 implicitCasts = options.implicitCasts;
546539 implicitDynamic = options.implicitDynamic;
547540 strictInference = options.strictInference;
@@ -718,7 +711,6 @@ class AnalysisOptionsImpl implements AnalysisOptions {
718711 buffer.addBool (implicitDynamic);
719712 buffer.addBool (strictInference);
720713 buffer.addBool (strictRawTypes);
721- buffer.addBool (strongModeHints);
722714 buffer.addBool (useFastaParser);
723715
724716 // Append enabled experiments.
@@ -810,7 +802,6 @@ class AnalysisOptionsImpl implements AnalysisOptions {
810802 _lintRules = null ;
811803 patchPaths = {};
812804 preserveComments = true ;
813- strongModeHints = false ;
814805 trackCacheDependencies = true ;
815806 useFastaParser = true ;
816807 }
@@ -819,9 +810,6 @@ class AnalysisOptionsImpl implements AnalysisOptions {
819810 @override
820811 void setCrossContextOptionsFrom (AnalysisOptions options) {
821812 enableLazyAssignmentOperators = options.enableLazyAssignmentOperators;
822- if (options is AnalysisOptionsImpl ) {
823- strongModeHints = options.strongModeHints;
824- }
825813 }
826814
827815 /// Return whether the given lists of lints are equal.
0 commit comments