[erlang-questions] Dialyzer woes

Kostis Sagonas kostis@REDACTED
Mon Sep 6 12:52:29 CEST 2010


Dmitrii Dimandt wrote:
> I'm trying to run dialyzer under both MacOS X and Ubuntu. Every time I run it I get the following error:
> 
> dialyzer: Analysis failed with error: Cannot locate module erl_syntax to resolve the remote type: erl_syntax:syntaxTree()
> 
> 
> Is this curable?

It's a bit difficult to tell you exactly what to do as you do not 
specify which Erlang/OTP version you are using but the answer to your 
question is "Yes". Depending on your OTP version, you have two options:

  1. Include the 'syntax_tools' application in your PLT.
  2. Upgrade to a later Erlang/OTP version.

Kostis


More information about the erlang-questions mailing list