Make Ulf Norell's
define example work in all backends
The original example for
Missing sanitization is a regression wrt. 2.9.1, introduced by #287.
The text was updated successfully, but these errors were encountered:
This test has a non-linear definition: ``` define inc x = Assign x (EOp (EVar x) Plus (EInt 1)) ; ``` This creates syntax trees that not trees bug DAGs. ``` make_Assign (x, make_EOp (make_EVar(x), make_Plus(), make_EInt(1))) ``` E.g. here, `x` is shared. This causes problems for the C deallocater which assumes that it is dealing with a tree. This issue is left open for now.
Remaining problem (C): non-linear definitions, like:
This creates syntax trees that not trees but DAGs.