c8aab9f302
When applying a mixin during dynamic module compilation, fields and methods are copied from kernel AST of the mixin. So field initializers within mixins should be preserved while trimming host app kernel file, in order to be available for the dynamic module compilation. TEST=pkg/dynamic_modules/test/data/mixin_field Fixes b/418729276 Change-Id: I00c4392989d552e24dc8c4b4b60c1667de234f98 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429680 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
11 lines
338 B
YAML
11 lines
338 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: 'Foo'
|
|
|
|
callable:
|
|
- library: 'shared/shared.dart'
|
|
class: 'Foo'
|