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

Unified Diff: tests/compiler/dart2js/resolver_test.dart

Issue 10942028: Support class and typedef literals as expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two long lines. Created 8 years, 2 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: tests/compiler/dart2js/resolver_test.dart
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
index 01cd9124cd654b594b40f216b1a175b10f7442aa..84deaf100f9af536ff7ce2b87b5c84dbdb96bf9f 100644
--- a/tests/compiler/dart2js/resolver_test.dart
+++ b/tests/compiler/dart2js/resolver_test.dart
@@ -707,6 +707,7 @@ testInitializers() {
class Closure {}
class Null {}
class Dynamic_ {}
+ class Type {}
class Object { Object() : super(); }''';
resolveConstructor(script, "Object o = new Object();", "Object", "Object", 1,
[], [MessageKind.SUPER_INITIALIZER_IN_OBJECT],

Powered by Google App Engine
This is Rietveld 408576698