LoginSignup
1
2

More than 5 years have passed since last update.

Erlangのdialyzer使い方

Posted at

Dialyzerは Erlangコードベース内の型エラーの検知をする。Dialyzerの永続的探索表(PLT: Persistent Lookup Table)を作成します。

$ dialyzer --build_plt --apps erts kernel stdlib crypto mnesia sasl common_test eunit

必要であれば、sslやreltoolといったアプリケーションを--appsに続けて追加する事もできる

$ dialyzer --add_to_plt --apps ssl reltool

使うときにdialyzerの後ろにファイル名を追加するだけでいいです。

$ dialyzer binary_search.erl
  Checking whether the PLT /Users/wang/.dialyzer_plt is up-to-date... yes
  Proceeding with analysis... done in 0m0.56s
done (passed successfully)
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2