From e705369dee060e74ad9456e45824f36b1ee3c6cf Mon Sep 17 00:00:00 2001 From: Elliott Johnson Date: Wed, 27 May 2026 12:41:35 -0600 Subject: [PATCH] fix: propagate async @const blockers through closure references (#18309) Right now, if you have the following: ```svelte {@const data = await foo}

{(() => data)()}

``` It will blow up during CSR, because it tries to read `data` before it exists. The solution to this is to consider references inside closures as blockers for those closures. This _does_ mean we'll overblock in some circumstances, such as: ```svelte {@const data = await foo}