8bd77bc510
Previously, tree shaker conservatively treated such fields as used if constructor of the class was used. Tree shaker would still keep late final instance fields without initializer as it doesn't track how many times the field was assigned/initialized and repeatitive assignment to a late final field without initializer throws an exception. TEST=pkg/vm/testcases/transformations/type_flow/transformer/write_only_field3_nnbd.dart Change-Id: I859a4e864e2186e754ba4387a50d1ad9a901e6ef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/255542 Reviewed-by: Aske Simon Christensen <askesc@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This package hosts VM specific Dart code and helper scripts.