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

Unified Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1864753002: Use isValidConst flag to distinguish between const / final expressions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/summary/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index b42af8586fbb661b1e21bb6e5d3b534f197a0a4b..3032858d91994ac6addde2b9942ab7bddb63e258 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -1011,11 +1011,11 @@ abstract class UnlinkedConst extends base.SummaryClass {
List<int> get ints;
/**
- * Indicates whether the expression is not a valid potentially constant
+ * Indicates whether the expression is a valid potentially constant
* expression.
*/
@Id(5)
- bool get isInvalid;
+ bool get isValidConst;
/**
* Sequence of operations to execute (starting with an empty stack) to form

Powered by Google App Engine
This is Rietveld 408576698