-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc7d5c1
commit 0649402
Showing
145 changed files
with
590 additions
and
548 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
sidebar_position: 26 | ||
--- | ||
|
||
# W0026 - Unexported function | ||
|
||
## Error | ||
|
||
```erlang | ||
main() -> | ||
dep:public(), | ||
dep:private(). | ||
%% ^^^^^^^^^^^^^^^^ 💡 warning: Function 'dep:private/0' is not exported. | ||
``` | ||
|
||
## Explanation | ||
|
||
The warning message indicates that the invoked function exists in the target module but is not exported. | ||
|
||
The problem could be due to missing export for the function, to misspelling, to the wrong number of arguments passed to the function or to a dependency change. | ||
|
||
To fix the problem you should verify whether the invoked function is the one you want to call and export it from the dependent module. Remember that in Erlang a function is identified by its name **and** the number of arguments it takes. | ||
|
||
In case of false positives, the [standard `elp:ignore` mechanism](../erlang-error-index.md#ignoring-diagnostics) should be used. Please report this as a bug should this be the case. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
assets/js/935f2afb.2e8a6b9c.js → assets/js/935f2afb.a3f15b66.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.