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

Unified Diff: compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.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/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 57b024eb668fa3c2fffc589d546c23523fb13314..7467104a0885130161a7c7ea9922ddca762666f6 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.dart.compiler.resolver.ClassElement;
import com.google.dart.compiler.resolver.DynamicElement;
import com.google.dart.compiler.resolver.Element;
import com.google.dart.compiler.resolver.Elements;
@@ -133,4 +134,17 @@ class DynamicTypeImplementation extends AbstractType implements DynamicType {
public Map<String, Type> getNamedParameterTypes() {
return null;
}
+
+ @Override
+ public void registerSubClass(ClassElement subClass) {
+ }
+
+ @Override
+ public void unregisterSubClass(ClassElement subClass) {
+ }
+
+ @Override
+ public Member lookupSubTypeMember(String name) {
+ return null;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698