OLD | NEW |
---|---|
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 class A { | 5 class Test3 { |
6 final fn; | |
7 Test3(this.fn); | |
8 void test() { | |
9 fn(); | |
10 } | |
6 } | 11 } |
7 | |
8 class C extends A { | |
9 foo() { | |
10 super.foo = 3; | |
11 } | |
12 } | |
OLD | NEW |