1c59f30d7b
Our helper function to detect whether a null-assertion was required didn't include a case to check for record types. The null-assertion flag is likely to go away soon, since it's only valuable for mixed applications. Fixes #52276 Change-Id: Ief4515b8c3eaae5343012da4220e6051bb5a2f19 Fixed: 52276 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/301680 Commit-Queue: Sigmund Cherem <sigmund@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com>