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

Unified Diff: compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.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/DynamicTypeImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java b/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
index 7467104a0885130161a7c7ea9922ddca762666f6..f439eef6b76150fa99e1e3951fde3d5ed61650a9 100644
--- a/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
+++ b/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
@@ -4,6 +4,7 @@
package com.google.dart.compiler.type;
+import com.google.common.collect.Lists;
import com.google.dart.compiler.resolver.ClassElement;
import com.google.dart.compiler.resolver.DynamicElement;
import com.google.dart.compiler.resolver.Element;
@@ -144,7 +145,7 @@ class DynamicTypeImplementation extends AbstractType implements DynamicType {
}
@Override
- public Member lookupSubTypeMember(String name) {
- return null;
+ public List<Member> lookupSubTypeMembers(String name) {
+ return Lists.newArrayList();
}
}

Powered by Google App Engine
This is Rietveld 408576698