Skip to content

Fix incorrect typespecs in Module#15167

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
pnezis:fix-module-typespecs
Mar 10, 2026
Merged

Fix incorrect typespecs in Module#15167
josevalim merged 1 commit into
elixir-lang:mainfrom
pnezis:fix-module-typespecs

Conversation

@pnezis
Copy link
Copy Markdown
Contributor

@pnezis pnezis commented Mar 10, 2026

  • Fix module_info(:nifs) typespec to return [function_info] instead of module()
  • Fix Module.overridables_in/1 typespec to return [definition] instead of [atom]

- Fix `module_info(:nifs)` typespec to return `[function_info]` instead of `module()`
- Fix `Module.overridables_in/1` typespec to return `[definition]` instead of `[atom]`
@josevalim josevalim merged commit d0ce39e into elixir-lang:main Mar 10, 2026
15 checks passed
@josevalim
Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

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