You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original reporter: michalmuskala
Affected version: OTP-21.0
Fixed in version: OTP-21.1
Component: dialyzer
Migrated from: https://bugs.erlang.org/browse/ERL-680
There are two modules attached - {{good.erl}} and {{bad.erl}}. The only difference between them is the associativity of the {{andalso}} operator in the guard - in Erlang the operator is right-associative, while in Elixir (where the issue was originally discovered) the {{and}} operator that translates to erlang's {{andalso}} is left-associative. This difference is visible in the Erlang source-code with additional parenthesis around the operator.
Running {{dialyzer good.erl}} finishes almost instantaneously, while I had to kill {{dialyzer bad.erl}} after 20 minutes.
The text was updated successfully, but these errors were encountered:
Original reporter:
michalmuskala
Affected version:
OTP-21.0
Fixed in version:
OTP-21.1
Component:
dialyzer
Migrated from: https://bugs.erlang.org/browse/ERL-680
The text was updated successfully, but these errors were encountered: