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

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

Issue 10990108: Handle modifiers (abstract) on class nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: TODO added 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
« no previous file with comments | « lib/compiler/implementation/tree/nodes.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index ddf2b6b9f38aa27c85883308801f623a5dec7e45..af53532804c88be8741d9ef1ce9423609b5a2a17 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -243,6 +243,11 @@ testRedirectingFactoryConstructors() {
testUnparseMember("external const factory Foo() = prefix.Bar<T>.baz;");
}
+testClassDeclarations() {
+ testUnparseTopLevelWithMetadata('class Foo{}');
+ testUnparseTopLevelWithMetadata('abstract class Foo{}');
+}
+
main() {
testSignedConstants();
testGenericTypes();
@@ -261,4 +266,5 @@ main() {
testPartOf();
testCombinators();
testRedirectingFactoryConstructors();
+ testClassDeclarations();
}
« no previous file with comments | « lib/compiler/implementation/tree/nodes.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698