7b81625180
- Update pattern scope tests after CFE switch improvements. - Fix incorrect end offset detection in expression compiler. Account for synthetic variables that can have offsets from later code (i.e. created for hoisting). Related: https://github.com/dart-lang/sdk/issues/51554 Closes: https://github.com/dart-lang/sdk/issues/51825 Change-Id: I07cd319f8996acae2dada96ba6e43eac9e04fbb6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290706 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Anna Gringauze <annagrin@google.com> Reviewed-by: Mark Zhou <markzipan@google.com>