Open yoshihiro503 opened 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
Bitstr
variant to Ast.constant<<X/string, Y/binary>>
-> likebinary:app(list_to_bin(X), Y)