erlang / erlide_eclipse

Eclipse IDE for Erlang
http://erlide.org
202 stars 70 forks source link

Complex type specification breaks 'function callgraph' utility #301

Open fowlay opened 7 years ago

fowlay commented 7 years ago

Certain type specifications cause the 'function callgraph' utility to malfunction. The attached foo.erl module is a simple example. foo.erl.txt

When clicking CodeInspection->GenerateFunctionCallgraph there is a pop-up saying "Internal error occured. Please report it!".

Workaround: Remove the -type specification and modify the -spec line accordingly.

erarafo_20170401_225858.txt

vladdu commented 7 years ago

We use a rather old version of wrangler. Unfortunately there isn't anyone maintaining the eclipse integration and I'm not sure if it's enough to just replace the wrangler binaries. I will investigate.