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>