Closed ptal closed 9 years ago
Using the type visitor alone is wrong because it assumes we visit all types, but we don't visit type under &, !, or semantic action for example. We must use the expression visitor, maybe with the type visitor inside it.
It's the desirable behavior for the inlining loop checking phase. However, propagation and inlining need to visit everything to be correct.
Using the type visitor alone is wrong because it assumes we visit all types, but we don't visit type under &, !, or semantic action for example. We must use the expression visitor, maybe with the type visitor inside it.