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

Unified Diff: compiler/java/com/google/dart/compiler/type/AbstractType.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/AbstractType.java
diff --git a/compiler/java/com/google/dart/compiler/type/AbstractType.java b/compiler/java/com/google/dart/compiler/type/AbstractType.java
index 221a3d6f34ab9595ccc1dbd9397ff2c642a66d77..3a5892a33ae8047b56f3595461b9a8b1ce4da124 100644
--- a/compiler/java/com/google/dart/compiler/type/AbstractType.java
+++ b/compiler/java/com/google/dart/compiler/type/AbstractType.java
@@ -9,7 +9,7 @@ package com.google.dart.compiler.type;
*/
abstract class AbstractType implements Type {
@Override
- public boolean isInferred() {
- return false;
+ public TypeQuality getQuality() {
+ return TypeQuality.EXACT;
}
}

Powered by Google App Engine
This is Rietveld 408576698