0064249ab3
Only enforce that a library must be 3.0 or higher if it contains extendable elements. Otherwise, we can ignore legacy mixin classes and trim the entire library. TESTED=apply_mixin case in dynamic_modules tests. Change-Id: I1378c6d4678305ae634b4259e7eb28a48327d645 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425187 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
21 lines
555 B
YAML
21 lines
555 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: 'A'
|
|
- library: 'shared/shared.dart'
|
|
class: 'M'
|
|
|
|
callable:
|
|
- library: 'shared/shared.dart'
|
|
class: 'M'
|
|
- library: 'shared/shared_old.dart'
|
|
class: 'M3'
|
|
|
|
can-be-overridden:
|
|
- library: 'shared/shared.dart'
|
|
class: 'A'
|
|
- library: 'shared/shared.dart'
|
|
class: 'M'
|