Skip to content

Improve error returned from fun_apply - #15522

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
lukaszsamson:ls-bad-arity-fun-apply
Jun 24, 2026
Merged

Improve error returned from fun_apply#15522
josevalim merged 1 commit into
elixir-lang:mainfrom
lukaszsamson:ls-bad-arity-fun-apply

Conversation

@lukaszsamson

Copy link
Copy Markdown
Contributor
  • return badfun on empty type
  • exclude call arity on badarity tuple

Fixes #15521

- return badfun on empty type
- exclude call arity on badarity tuple

Fixes elixir-lang#15521
@josevalim
josevalim merged commit 9a20292 into elixir-lang:main Jun 24, 2026
15 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

josevalim pushed a commit that referenced this pull request Jun 24, 2026
- return badfun on empty type
- exclude call arity on badarity tuple

Fixes #15521

(cherry picked from commit 9a20292)
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.

Wrong error returned from fun_apply on empty type

2 participants