Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Compiler crashes when fused type is used as part of C++ template specialization #2943
Following Cython code with fused type cannot be compiled with Cython 0.29.7/ Python 3.7.2/Ubuntu linux 18.04.
This error happends only if I use fused type to specialize template.
cdef extern from "func.h": void func1[L](L arg); ctypedef fused Num: long def test(Num n): cdef void (*p_func1) (Num) p_func1 = func1[Num]
The error is: