Skip to content

Commit 2f531a4

Browse files
committed
add comment
1 parent 8a24558 commit 2f531a4

File tree

1 file changed

+1
-0
lines changed
  • packages/svelte/src/compiler/phases

1 file changed

+1
-0
lines changed

packages/svelte/src/compiler/phases/scope.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ export function create_scopes(ast, root, allow_reactive_declarations, parent) {
941941
// automatically opt into runes mode on encountering
942942
// blocking awaits, without doing an additional walk
943943
// before the analysis occurs
944+
// TODO remove this in Svelte 7.0 or whenever we get rid of legacy support
944945
has_await ||= context.path.every(
945946
({ type }) =>
946947
type !== 'ArrowFunctionExpression' &&

0 commit comments

Comments
 (0)