Skip to content

fix(erlang): resolve selective imports by arity - #1622

Open
danusha2345 wants to merge 1 commit into
colbymchenry:mainfrom
danusha2345:fix/1610-erlang-import-arity-main
Open

fix(erlang): resolve selective imports by arity#1622
danusha2345 wants to merge 1 commit into
colbymchenry:mainfrom
danusha2345:fix/1610-erlang-import-arity-main

Conversation

@danusha2345

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #1615 for the remaining #1610 resolution correctness gaps.

  • resolve -import(Module, [f/N]) to the exact exported module, function, and arity
  • keep bare Erlang calls scoped to the current module so BIFs and out-of-repo calls cannot bind to unrelated project functions
  • bump the extraction version so existing Erlang indexes are rebuilt
  • add regressions for selective imports and same-named BIF collisions

This intentionally does not include the comment-arity change from #1619.

Verification

  • npm run build:kernel
  • npm run build
  • npm test -- --reporter=dot — 194 files, 3231 passed, 10 skipped
  • focused Erlang suite — 10 passed

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.

1 participant