Ondřej Čertík
Ondřej Čertík
Go ahead and resolve the conflict --- update against the latest main.
You need to update reference tests, the new error is not showing.
I see, I think this is a parametrized derived type with inheritance. Thanks for the bug report!
I think the ASR looks correct, it looks like there might be some issue in the LLVM backend that handles this case. We need to investigate.
In ASR->LLVM we can insert deep copies for each member, recursively.
We cannot use `llvm.alloca` at all here, we need to use heap allocation for array struct members.
Awesome, thanks for the bug report!