-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix references to mfa that should be mfargs
mfa = module, function, arity mfargs = module, function, arguments Dialyzer wasn't catching the use of `[any()]` in the tuple that was typed to be `arity` (0..255) so this went unnoticed. This change just clarifies that the user should pass arguments. I assume wasn't much of an issue, since I think the A in MFA is frequently switched between arguments and arity in libraries even though the `mfa()` type is pretty clear that it's arity. MFArgs or `mfargs()` is how I've always seen the argument version referred to when people make a distinction.
- Loading branch information
Showing
2 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters