mirror of https://github.com/sveltejs/svelte
fix: ensure compiler state is reset before compilation (#16396)
#16268 introduced a slight regression where the state is not reset completely upon compilation. It did reset warnings but not other state, which meant if file A succeeds but file B fails in the parsing state (before the state was reset for real) it would get wrong filename info. This fixes it by setting the filename at the very beginning.pull/16397/head
parent
4947283fa5
commit
ee1ef6083a
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: ensure compiler state is reset before compilation
|
Loading…
Reference in new issue