mirror of https://github.com/sveltejs/svelte
fix: treat concise arrow function bodies as implicit returns when calculating blockers (#18613)
Fixes #18612. A concise arrow body does not contain a `ReturnStatement` which we traverse in full calculate_blockers (else we bail on functions), so short-cut to `touch` there. --------- Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>pull/18537/merge
parent
a4c60ccdbb
commit
a166761b04
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: treat concise arrow function bodies as implicit returns when calculating blockers
|
||||
Loading…
Reference in new issue