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

Unified Diff: compiler/java/com/google/dart/compiler/type/InterfaceTypeUnionImplementation.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/InterfaceTypeUnionImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/type/InterfaceTypeUnionImplementation.java b/compiler/java/com/google/dart/compiler/type/InterfaceTypeUnionImplementation.java
index b17a4d3a5173614f652cace73df87b04e27e7a53..50f0006d7b94c2f651674756a77fb32fe29deb3c 100644
--- a/compiler/java/com/google/dart/compiler/type/InterfaceTypeUnionImplementation.java
+++ b/compiler/java/com/google/dart/compiler/type/InterfaceTypeUnionImplementation.java
@@ -5,6 +5,7 @@
package com.google.dart.compiler.type;
import com.google.common.collect.ImmutableList;
+import com.google.common.collect.Lists;
import com.google.dart.compiler.resolver.ClassElement;
import com.google.dart.compiler.resolver.ClassElementUnion;
@@ -105,8 +106,8 @@ class InterfaceTypeUnionImplementation implements InterfaceTypeUnion {
}
@Override
- public Member lookupSubTypeMember(String name) {
- return null;
+ public List<Member> lookupSubTypeMembers(String name) {
+ return Lists.newArrayList();
}
public List<InterfaceType> getTypes() {

Powered by Google App Engine
This is Rietveld 408576698