92727ab977
All other constant types include similar logic. This caused a failure when testing deferred loading logic. Laziness of static tear offs are module sensitive. A record containing a constant static tear off needs to match the inner laziness. Though there are other ways to get lazy subconstants that would also cause this to fail (e.g. very large strings). Change-Id: Ia55b4f24a15e57b9721383726e7afb5f39557d5d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384980 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>