af7cbd2a04
Dart2JS uses the file offset on these nodes to create JS source maps. We want to maintain these file offsets across the serialization layer when we compile from dill files rather than directly from sources. Dart2JS tests were serializing via `--test-mode` flag and thus had incorrect source locations for some stack traces. TEST=Updating tests for all of these in fasta offsets tests. Change-Id: I33862462fbff84d88f8c51bdeb1efc5771cfb8b2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327160 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>