Commit 2508d906 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Mark cypclass method self arg as wlocked

parent 5b0adffa
......@@ -2602,6 +2602,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