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

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

Issue 12088044: Issue 8169. Type inferred from 'query' is 'inferred exact'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't report problem when member exists, but not the unique. Created 7 years, 11 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: compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java
diff --git a/compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java b/compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java
index d8a6be2a02a1ddafb7743eacc64c5fe238392569..fb6b48116605fcb1d631adef317744e71e949770 100644
--- a/compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java
+++ b/compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java
@@ -154,7 +154,7 @@ public class ExternalTypeAnalyzers {
// OK, we know more specific return type
Type tagType = tagTypeElement.getType();
if (tagType != null) {
- return tagType;
+ return Types.makeInferred(tagType, TypeQuality.INFERRED_EXACT);
}
}
// no guess

Powered by Google App Engine
This is Rietveld 408576698