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

Unified Diff: tests/language/regress_27104_test.dart

Issue 2250433007: Type check field initializers in the correct context. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « pkg/compiler/lib/src/typechecker.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/regress_27104_test.dart
diff --git a/tests/language/regress_25609_lib1.dart b/tests/language/regress_27104_test.dart
similarity index 70%
copy from tests/language/regress_25609_lib1.dart
copy to tests/language/regress_27104_test.dart
index 98fdb207d90e4ceda60a2078ee301a25e6fb6f89..75b625293ec82951c8e0018a345fa0f85ecbd8f9 100644
--- a/tests/language/regress_25609_lib1.dart
+++ b/tests/language/regress_27104_test.dart
@@ -2,9 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library regress_25609_lib1;
+// Regression test for issue 27401
Siggi Cherem (dart-lang) 2016/08/18 14:46:09 Let's rename the file and add some description her
Johnni Winther 2016/08/19 07:46:16 Done.
-import 'regress_25609_lib2.dart';
+class A {}
-typedef Bar Foo(int y);
+A a = new A(), b = new A();
Siggi Cherem (dart-lang) 2016/08/18 14:46:09 Also - do we want to test it out on class fields t
Johnni Winther 2016/08/19 07:46:16 Done.
+main() => [a, b];
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698