Files
sdk/pkg/dynamic_modules/test/data/extend_class2/dynamic_interface.yaml
T
Sigmund Cherem d58b002b46 [dyn_modules] add more test cases.
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>
2024-11-21 21:53:03 +00:00

28 lines
767 B
YAML

# 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.
extendable:
- library: 'shared/shared.dart'
class: 'Base'
can-be-overridden:
- library: 'shared/shared.dart'
class: 'Base'
member: 'method2'
# TODO(sigmund): consider implying this for all extendable types.
callable:
- library: 'shared/shared.dart'
class: 'Base'
member: ''
# TODO(sigmund): This should be included by default
- library: 'dart:core'
class: 'Object'
- library: 'dart:core'
class: 'int'
- library: 'dart:core'
class: 'pragma'
member: '_'
- library: 'dart:core'
member: 'override'