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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeTestCase.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/TypeTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
index d70892a697a90a00ad0a73f770e73305c5847dc7..9237fdaa3a44b32b9da1842d9fe49e23b3909800 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
@@ -68,6 +68,7 @@ abstract class TypeTestCase extends TestCase {
null, null, itype(string), itype(intElement));
final FunctionType stringAndIntToMap = ftype(function, stringIntMap,
null, null, itype(string), itype(intElement));
+ final ClassElement type = element("Type", itype(object));
private int expectedTypeErrors = 0;
private int foundTypeErrors = 0;
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTestCase.java ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698