I have loaded the project GitHub - FlowForwarding/enetconf: NETCONF Library for Erlang in IntelliJ. I am able to compile the project and generate the .beam files.
However, I see the
Unresolved <xyz> messages, examples of which are given at the end.
Because of this, I cannot walk through the code in IntelliJ (ctrl & mouse-over on a function/variable will enable a link. Clicking on the link will take me to the definition of the function/variable).
How to fix the issue?
While comparing with Java, I have the following queries. Please clarify.
Java code would not compile with “unresolved variable” error. It is compile time error message. But, Erlang code is compiled in spite of the such an error. What type of message Erlang
Unresolved <xyz>messages is?
One class can refer another using import in Java. I do not see import in Erlang. One module can refer another directly in Erlang. Any thought on this?
Unresolved Message Examples
In the following examples, I have separated the actual code and the message by an arrow →
-behaviour(gen_server). → Unresolved behaviour gen_server
gen_server:start → Unresolved function start/3
enetconf_xml:unlock(MessageId, Target) → Unresolved function unlock/2
ssh:stop_daemon(Pid) → Unresolved function stop_daemon/1