Commit c176a809 authored by daniloaf@daniloaf-PC's avatar daniloaf@daniloaf-PC

Fixed bug on subclass instanciation and using 'del' on templates compile test

parent b3f27fe5
#
# Pyrex - Types
#
......@@ -1879,7 +1880,7 @@ class CppClassType(CType):
if other_type.is_cpp_class:
if self == other_type:
return 1
elif self.template_type == other_type.template_type:
elif self.template_type and self.template_type == other_type.template_type:
if self.templates == other_type.templates:
return 1
for t1, t2 in zip(self.templates, other_type.templates):
......
......@@ -26,3 +26,5 @@ c = e.getValue2()
cdef char f = d.getValue2()
f = e.getValue2()
del b, e
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment