Revision 2b684b7e5bd238265a3139f24699e5a5a7a48794 authored by Pete Bacon Darwin on 29 October 2020, 09:45:01 UTC, committed by Misko Hevery on 06 November 2020, 17:09:48 UTC
Tokenized text node may have leading whitespace skipped from their
source-span. But the source-span is used to compute where there are
interpolated blocks, resulting in placeholder nodes whose source-spans
are offset by the amount of skipped characters.

This fix uses the `fullStart` location of text source-spans for computing
the source-span of placeholders, so that they are accurate.

Fixes #39195

PR Close #39589
1 parent ff31b43
History
File Mode Size
README.md -rw-r--r-- 1.5 KB
extensions.json -rw-r--r-- 592 bytes
recommended-launch.json -rw-r--r-- 2.2 KB
recommended-settings.json -rw-r--r-- 1.2 KB
recommended-tasks.json -rw-r--r-- 2.7 KB

README.md

back to top