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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 1994613004: Handle use of constant constructors with default values. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 5223189a9274519b9cedf53e26030be701b9f5bc..dc708d0d6076dd1899c236011970172a360baaae 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1005,6 +1005,8 @@ abstract class VariableElement extends ExecutableElement {
Expression get initializer;
+ bool get hasConstant;
+
/// The constant expression defining the (initial) value of the variable.
///
/// If the variable is `const` the value is always non-null, possibly an

Powered by Google App Engine
This is Rietveld 408576698