Skip to content

fix(lua): extract assigned function expressions - #1623

Open
danusha2345 wants to merge 1 commit into
colbymchenry:mainfrom
danusha2345:fix/1616-lua-function-expressions
Open

fix(lua): extract assigned function expressions#1623
danusha2345 wants to merge 1 commit into
colbymchenry:mainfrom
danusha2345:fix/1616-lua-function-expressions

Conversation

@danusha2345

Copy link
Copy Markdown
Contributor

Summary

Fixes #1616.

  • index function expressions assigned to locals, table members, static keyed fields, and nested callback tables
  • attribute calls inside those expressions to the callable node instead of the file node
  • keep dynamic bracket keys unguessed and avoid extra variable nodes for ordinary member assignments
  • implement the same behavior in the TypeScript/WASM and native Rust extraction paths
  • bump the extraction version and add extraction, resolution, callers, and kernel-parity regressions

Verification

  • npm run build:kernel
  • npm run build
  • focused extraction/resolution/native parity suite — 820 passed
  • npm test -- --reporter=dot — 194 files, 3231 passed, 10 skipped

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.

Lua: function expressions assigned to table fields/keys produce no node — their calls are attributed to the file, so callers/impact silently omit them

1 participant