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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java

Issue 10873096: Issue 3904. Allow using class literal in expressions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
index e54523e2dec0b2a9ed598d6941a570927e418b02..39bc61c0b4e6058dc0272d29f58a1f45eab59a89 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java
@@ -147,6 +147,11 @@ public abstract class TypeAnalyzerTestCase extends TypeTestCase {
public Type getVoidType() {
return voidType;
}
+
+ @Override
+ public InterfaceType getTypeType() {
+ return type.getType();
+ }
}
private class MockScope extends Scope {
private MockScope() {

Powered by Google App Engine
This is Rietveld 408576698