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

Unified Diff: compiler/java/com/google/dart/compiler/type/Type.java

Issue 11293058: Issue 5157. Introduce TypeQuality. Try to find member in subclasses. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: compiler/java/com/google/dart/compiler/type/Type.java
diff --git a/compiler/java/com/google/dart/compiler/type/Type.java b/compiler/java/com/google/dart/compiler/type/Type.java
index d3b893369c11647e545afab6a5d809fc24830ba8..3fa6a0b89e8c0a283f4e19da3955edccd9be7f54 100644
--- a/compiler/java/com/google/dart/compiler/type/Type.java
+++ b/compiler/java/com/google/dart/compiler/type/Type.java
@@ -25,8 +25,7 @@ public interface Type {
TypeKind getKind();
/**
- * @return <code>true</code> if this {@link Type} was not declared in {@link Element}, but
- * instead was inferred from context.
+ * @return the {@link TypeQuality}, not <code>null</code>.
*/
- boolean isInferred();
+ TypeQuality getQuality();
}

Powered by Google App Engine
This is Rietveld 408576698