Files
sdk/pkg/dynamic_modules
Alexander Markov c8aab9f302 [dyn_modules] Do not trim field initializers in mixins
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>
2025-05-20 10:27:36 -07:00
..

This package contains experimental dynamic modules API.

Status: experimental

NOTE: This package is currently experimental and not published or included in the SDK.

Do not take dependency on this package unless you are prepared for breaking changes and possibly removal of this code at any point in time.