Index: pkg/analysis_server/lib/src/domain_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart |
index 4a3d28f0bdb42be464ad21cca9b63b3d628a850a..d6e2ec5ea14a78ac233471df325c1c8bb8fd9ba4 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -206,6 +206,11 @@ class AnalysisDomainHandler implements RequestHandler { |
var params = new AnalysisUpdateOptionsParams.fromRequest(request); |
AnalysisOptions newOptions = params.options; |
List<OptionUpdater> updaters = new List<OptionUpdater>(); |
+ if (newOptions.enableNullAwareOperators != null) { |
+ updaters.add((engine.AnalysisOptionsImpl options) { |
+ options.enableNullAwareOperators = newOptions.enableNullAwareOperators; |
+ }); |
+ } |
if (newOptions.generateDart2jsHints != null) { |
updaters.add((engine.AnalysisOptionsImpl options) { |
options.dart2jsHint = newOptions.generateDart2jsHints; |