Skip to content

fix(engine): unify import lookup to correctly resolve local calls#547

Merged
doorgan merged 1 commit intoelixir-lang:mainfrom
Draggu:import-fix
Apr 4, 2026
Merged

fix(engine): unify import lookup to correctly resolve local calls#547
doorgan merged 1 commit intoelixir-lang:mainfrom
Draggu:import-fix

Conversation

@Draggu
Copy link
Copy Markdown
Contributor

@Draggu Draggu commented Apr 2, 2026

When working on macro expansion indexing, I figured out that Entity.resolve is ignoring imports, leading to wrong mfa. This causes index search to find nothing, in which case we fallback to elixirsense (this may be the reason some cases seem to work). At least function capture case did not work.

@doorgan doorgan merged commit 728b76e into elixir-lang:main Apr 4, 2026
72 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants