Files
sdk/pkg/dev_compiler/lib
Nicholas Shahan 5fd3ccd4d0 [ddc] Fix sourcemap for field initializers
New source locations were added for field initializers to support
upcoming primary constructor work.
See: https://dart-review.googlesource.com/c/sdk/+/468780

This change ensures the initializer assignment statements we add to
the constructor body are fully mapped.

Without this change the new initializer assignment wasn't getting a
mapping so it continued from whatever appeared before it.

Change-Id: Id6ba0619e49e4a517ea36ffa728cf0c1502a14e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/469300
Auto-Submit: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2025-12-21 15:08:42 -08:00
..
2025-06-05 10:40:57 -07:00