Open richardmembarth opened 8 years ago
This cannot work. LLVM does not support polymorphism.
So this needs to be resolved earlier?
yes, I can write a pass which rewrites all uses of polymorphic "C" externs accordingly. It's not hard.
We will solve this issue in the long term via traits / better type system.
Thorin segfaults since
thorin::Node_TypeParam
is nod handled inCodeGen::convert(Type type)
, see commit AnyDSL/impala@93237d5