I've got some compilation problems with jit.gen:
1) I try to make a for loop into an array (vec in gen) using swiz, but it doesn't compile :
gen_domain: jit.gen: [string "gen2.Module"]:1102: attempt to index local 'constants' (a nil value)
maybe it is not possible to use swiz like this in a for loop; is there another way to do that? (see first jit.gen in the patch below).
2)another exemple with compilation error, I really dont understand why it doesn't work (2nd jit.gen in the patch below):
gen_domain: jit.gen: [string "gen2.jit.Model"]:396: assertion failed!
Does someone have a explanation or a trick to do such stuff?