Commit 5dd7ced5 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Mark cypclass method self arg as wlocked

parent a52c78a0
......@@ -2627,6 +2627,8 @@ class CFuncDefNode(FuncDefNode):
_cname = "this"
entry = self.local_scope.declare(_name, _cname, _type, _pos, 'private')
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):
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