dwango / fialyzer

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

Support Bitstr Expression #220

Open yoshihiro503 opened 5 years ago

yoshihiro503 commented 5 years ago
yuezato commented 5 years ago

References:

yuezato commented 5 years ago
A = <<(B=C):(C=2)>>.
* 1: variable 'C' is unbound

and

A = <<(B=1):(C=B)>>.
<<1:1>>

These two suggest that, for <<exp1:exp2>>, exp1 should be evaluated before exp2.

However,

A = <<(B=1):(if (B == 3) -> 5; true -> 6 end)>>.
* 1: variable 'B' is unbound