d58b002b46
This includes: * tests extending non-base class * tests for applying mixins * generalization of top-level test to include methods and gettters * tests for annotating entities indirectly (reexport, hidden implementation) * test for using core libraries and core language features. Change-Id: I2ff928c15794547368d2871f5b982685593ef662 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396105 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
14 lines
345 B
Dart
14 lines
345 B
Dart
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
|
|
// 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.
|
|
|
|
abstract class Base {
|
|
int method1() => 1;
|
|
int method2();
|
|
}
|
|
|
|
class Child1 extends Base {
|
|
@override
|
|
int method2() => 3;
|
|
}
|