I defined a behavior network_receiver - which has 2 callbacks: ready/1 (optional callback) and on_receive/1, and a module echo2 which use the network_receiver.
In the module echo2 i have 2 functions ready and on_receive and exported them, but intellij-erlang always shows the "Undefined or non-exported callback function on_receive/1" error.
issue description
I defined a behavior
network_receiver
- which has 2 callbacks:ready/1
(optional callback) andon_receive/1
, and a moduleecho2
which use thenetwork_receiver
.In the module
echo2
i have 2 functionsready
andon_receive
and exported them, but intellij-erlang always shows the "Undefined or non-exported callback function on_receive/1" error.(refer to the uploaded image bellow)
Idea and intellij-erlang version