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

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: Address Peter's comments. 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: tests/compiler/dart2js/resolver_test.dart
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
index 3cb50bfe324a7076e8a2fef946ec88bdc7274201..c64d6c14050d14281d3342f23aca92bbec51bf64 100644
--- a/tests/compiler/dart2js/resolver_test.dart
+++ b/tests/compiler/dart2js/resolver_test.dart
@@ -730,6 +730,7 @@ testInitializers() {
class Closure {}
class Null {}
class Dynamic_ {}
+ class Type {}
class Object { Object() : super(); }''';
resolveConstructor(script, "Object o = new Object();", "Object", "", 1,
expectedWarnings: [],

Powered by Google App Engine
This is Rietveld 408576698