Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2199323002: Initial implementation for lazy compound assignment operators (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e7bd28f0daa8d084cb24e56e6b84ef443fd24f82..469cb2eb7a5c681ddb0dc6ad3b66ba7ed85b3a45 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1070,6 +1070,12 @@ abstract class AnalysisOptions {
bool get enableGenericMethods => null;
/**
+ * Return `true` to enable the lazy compound assignment operators '&&=' and
+ * '||='.
+ */
+ bool get enableLazyAssignmentOperators;
+
+ /**
* Return `true` to strictly follow the specification when generating
* warnings on "call" methods (fixes dartbug.com/21938).
*/
@@ -1219,6 +1225,9 @@ class AnalysisOptionsImpl implements AnalysisOptions {
*/
bool enableGenericMethods = false;
+ @override
+ bool enableLazyAssignmentOperators = false;
+
/**
* A flag indicating whether analysis is to strictly follow the specification
* when generating warnings on "call" methods (fixes dartbug.com/21938).

Powered by Google App Engine
This is Rietveld 408576698