92ef752810
All supertypes of classes marked as "dyn-module:extendable" are technically also extendable in dynamic modules since subtyping is transitive. Also skip marking 'final' classes as dynamic module extendable. Change-Id: I124eae56b78b98aba8712158fda87bbc8e652ed3 Tested: Ran tests for dynamic interface annotator. Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403960 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
26 lines
713 B
YAML
26 lines
713 B
YAML
# Copyright (c) 2025, 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: 'Sub1'
|
|
# TODO(sigmund): This should be included by default
|
|
- library: 'dart:core'
|
|
class: 'Object'
|
|
|
|
callable:
|
|
# 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'
|
|
|
|
can-be-overridden:
|
|
- library: 'shared/shared.dart'
|
|
class: 'Sub1'
|