This will generate 4 parfors and each will have an arrayset where the element type is Complex{Float64} and the value is Int64. At a minimum we need to detect this situation when we generate an arrayset (or arrayref?) and do a conversion at that point or possibly hoist the conversion into the pre-statements if the value being written is not computed in the parfor body.
This will generate 4 parfors and each will have an arrayset where the element type is Complex{Float64} and the value is Int64. At a minimum we need to detect this situation when we generate an arrayset (or arrayref?) and do a conversion at that point or possibly hoist the conversion into the pre-statements if the value being written is not computed in the parfor body.