提交 c4cee100 authored 作者: Frederic's avatar Frederic

Fix CDataType.__eq__(fix crash during compilation)

上级 859702c6
......@@ -548,7 +548,7 @@ class CDataType(Type):
def __eq__(self, other):
return (type(self) == type(other) and
self.ctype == other.ctype,
self.ctype == other.ctype and
self.freefunc == other.freefunc)
def __hash__(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论