To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 5db981ff authored by Stefan Marr's avatar Stefan Marr
Browse files

Need to invoke methods/primitives with explicit self parameter


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 9d3b373b
......@@ -112,7 +112,7 @@ class Interpreter(object):
if invokable:
# Invoke the invokable in the current frame
invokable.invoke(self.get_frame(), self)
invokable.invoke(invokable, self.get_frame(), self)
else:
# Compute the number of arguments
num_args = signature.get_number_of_signature_arguments()
......@@ -240,7 +240,7 @@ class Interpreter(object):
if invokable:
# Invoke the invokable in the current frame
invokable.invoke(self.get_frame(), self)
invokable.invoke(invokable, self.get_frame(), self)
else:
num_args = selector.get_number_of_signature_arguments()
......
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