Commits
Click on a commit to change the comparison rangeMove validation check to add_source_mapping_end
Move position validation from add_source_mapping() to add_source_mapping_end()
as suggested in code review. This is more precise since add_source_mapping_end()
is specifically where span.end is used, which is the position that can be beyond
source bounds when codegen adds punctuation.
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Fix lint errors in sourcemap test
- Collapse nested if statements with let-chaining
- Use inline format args in assert messages
- Replace redundant closure with method reference
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com> chore: tweak
Signed-off-by: 翠 <green@sapphi.red>