1325e0ff96
Previously we created flow analysis on entry to a function/method's block, but that meant that we would miss promotions that occurred inside constructor initializers. Contains test cases for #38761 Change-Id: I566fb77173d9ce6b3aae994c525955f3cbe06fff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/120503 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>