6fdaed9eba
Previously the tear-offs created for the origin constructors were not replaced with the tear-offs created for the patch constructors - as is normally done for the constructors themselves. This lead the tear-offs to refer to unlowered code, breaking dart2js. Closes https://github.com/dart-lang/sdk/issues/48776 Change-Id: I1cb09c07bb2ac7fffb81acd31547ee96e7ecdc64 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/242284 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>