ignatov / intellij-erlang

Erlang IDE
https://www.jetbrains.com/help/idea/2018.2/getting-started-with-erlang.html
Other
735 stars 120 forks source link

"Undefined or non-exported callback function" error #909

Open aceyin opened 4 years ago

aceyin commented 4 years ago

issue description

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.

(refer to the uploaded image bellow)

erlang-intellij-callback-issue

Idea and intellij-erlang version