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

Unified Diff: pkg/analyzer2dart/test/end2end_data.dart

Issue 867233004: Support constructor declarations in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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: pkg/analyzer2dart/test/end2end_data.dart
diff --git a/pkg/analyzer2dart/test/end2end_data.dart b/pkg/analyzer2dart/test/end2end_data.dart
index 50eafcd54642426a39fa58cc671cdc2650ba9bb5..b1c6ac32714d2d54d9fd4dde0b5deb71800a7081 100644
--- a/pkg/analyzer2dart/test/end2end_data.dart
+++ b/pkg/analyzer2dart/test/end2end_data.dart
@@ -817,4 +817,15 @@ main(a) {
}
'''),
]),
+
+ const Group('Constructors', const <TestSpec>[
+ const TestSpec('''
+class C {
+ C() {}
+}
+main() {
+ return new C();
+}
+'''),
+ ]),
];

Powered by Google App Engine
This is Rietveld 408576698