Skip to content

fix: expand enclosing_range for const/let lambdas to include their name - #518

Merged
christoph-sg merged 1 commit into
mainfrom
ch/enclosing-range-for-const-lambda
Oct 27, 2026
Merged

christoph-sg merged 1 commit into
mainfrom
ch/enclosing-range-for-const-lambda

Conversation

@christoph-sg

@christoph-sg christoph-sg commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Fixes enclosing_range on const/let declarations for lambdas to include their name. Eg:

export const load: PageLoad = async () => {
  return 42
}

Test plan

Added test

@christoph-sg
christoph-sg merged commit d681554 into main Oct 27, 2026
5 checks passed
@christoph-sg
christoph-sg deleted the ch/enclosing-range-for-const-lambda branch October 27, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants