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

Unified Diff: tests/compiler/dart2js/serialization/test_data.dart

Issue 1969313007: Handle explicit constructor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/serialization/test_data.dart
diff --git a/tests/compiler/dart2js/serialization/test_data.dart b/tests/compiler/dart2js/serialization/test_data.dart
index 3056735c0317c7bf67cb80346f46523db9277190..17c4db4c10bb4a5bebeea039fc3e5e35b0ab862e 100644
--- a/tests/compiler/dart2js/serialization/test_data.dart
+++ b/tests/compiler/dart2js/serialization/test_data.dart
@@ -201,6 +201,14 @@ main() {
}'''
}),
+ const Test(const {
+ 'main.dart': '''
+class A {
+ A();
+}
+main() => new A();
+ ''',
+ }),
];
class Test {

Powered by Google App Engine
This is Rietveld 408576698