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

Unified Diff: tests/language/regress_25246_3.dart

Issue 1533823004: Fix owner of mixin forwarding constructors (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « tests/language/regress_25246_2.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_25246_3.dart
diff --git a/tests/language/deferred_super_dependency_lib.dart b/tests/language/regress_25246_3.dart
similarity index 76%
copy from tests/language/deferred_super_dependency_lib.dart
copy to tests/language/regress_25246_3.dart
index a592dabbae9fbb321b2f5c088e1267997af0e6fa..ce61a2eaca9bcf534e65cb8e85c6043afdce2636 100644
--- a/tests/language/deferred_super_dependency_lib.dart
+++ b/tests/language/regress_25246_3.dart
@@ -2,11 +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.
-class A {
-}
-
-class C extends A {
- foo() {
- super.foo = 3;
+class Test3 {
+ final fn;
+ Test3(this.fn);
+ void test() {
+ fn();
}
-}
+}
« no previous file with comments | « tests/language/regress_25246_2.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698