Commit 0163f631 authored by Stefan Behnel's avatar Stefan Behnel

make entries keep their utility code when inheriting them from cdef base classes

parent 80108150
......@@ -2015,6 +2015,8 @@ class CClassScope(ClassScope):
if is_builtin:
entry.is_builtin_cmethod = True
entry.as_variable = var_entry
if base_entry.utility_code:
entry.utility_code = base_entry.utility_code
class CppClassScope(Scope):
# Namespace of a C++ class.
......
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