Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use erlang:error(Reason) instead of throw #3

Closed
nachivpn opened this issue Feb 12, 2018 · 1 comment
Closed

Use erlang:error(Reason) instead of throw #3

nachivpn opened this issue Feb 12, 2018 · 1 comment

Comments

@nachivpn
Copy link
Owner

No description provided.

@nachivpn
Copy link
Owner Author

This also appears to be the cause for the bizzare linter crash on type errors:

crash reason: badarg

  in function  erl_lint:start_state/2 (erl_lint.erl, line 771)
  in call from lists:foldl/3 (lists.erl, line 1263)
  in call from erl_lint:forms/2 (erl_lint.erl, line 689)
  in call from erl_lint:module/3 (erl_lint.erl, line 534)
  in call from compile:lint_module/2 (compile.erl, line 1111)
  in call from compile:'-internal_comp/5-anonymous-1-'/3 (compile.erl, line 342)
  in call from compile:fold_comp/4 (compile.erl, line 369)
  in call from compile:internal_comp/5 (compile.erl, line 353)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant