From 68f99aa438d3d37af66e11397471641a641bbe8e Mon Sep 17 00:00:00 2001 From: gsamain <gwenael.samain@nexedi.com> Date: Tue, 26 Mar 2019 08:40:07 +0000 Subject: [PATCH] Fix c++ scope inheritance of func_cname --- Cython/Compiler/Symtab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index 138a27768..06664073b 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -2487,6 +2487,8 @@ class CppClassScope(Scope): entry.is_variable = 1 entry.is_inherited = 1 entry.is_cfunction = base_entry.is_cfunction + if entry.is_cfunction: + entry.func_cname = base_entry.func_cname self.inherited_var_entries.append(entry) for base_entry in base_scope.cfunc_entries: entry = self.declare_cfunction(base_entry.name, base_entry.type, -- 2.30.9