Commit 3086df3a authored by gsamain's avatar gsamain

Mark cypclass method self arg as wlocked

parent d80b5db9
...@@ -2583,6 +2583,8 @@ class CFuncDefNode(FuncDefNode): ...@@ -2583,6 +2583,8 @@ class CFuncDefNode(FuncDefNode):
_cname = "this" _cname = "this"
entry = self.local_scope.declare(_name, _cname, _type, _pos, 'private') entry = self.local_scope.declare(_name, _cname, _type, _pos, 'private')
entry.is_variable = 1 entry.is_variable = 1
# Even if it is checklock it should be OK to mess with self without locking
entry.is_wlocked = True
def declare_cpdef_wrapper(self, env): def declare_cpdef_wrapper(self, env):
if self.overridable: if self.overridable:
......
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