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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java

Issue 273703003: Don't generate errors when failing to follow const constructor redirections. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java
index 2a54e372aff08abc73b5606b0881033bf009e726..45dcd2064efcdd42d1823c1f38a7822d0de505ea 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java
@@ -221,6 +221,13 @@ public abstract class InstanceState {
}
/**
+ * Return true if this object represents an unknown value.
+ */
+ public boolean isUnknown() {
+ return false;
+ }
+
+ /**
* Return the result of invoking the '<' operator on this object with the given argument.
*
* @param rightOperand the right-hand operand of the operation

Powered by Google App Engine
This is Rietveld 408576698