dwango / fialyzer

[WIP] Faster Implementation of Dialyzer
https://dwango.github.io/fialyzer/
Apache License 2.0
56 stars 8 forks source link

Bug: tuple type #203

Closed yoshihiro503 closed 5 years ago

yoshihiro503 commented 5 years ago

The code should be type error, but not.

main() ->
    {ok, X} = {1, 2},
    X.

How to fix

Type.inf {'ok', any()} {1, 2} should be _|_.