WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 6928854b authored by Stefan Marr's avatar Stefan Marr
Browse files

Fixed Object.send, was transcribed carelessly


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 7db84c8a
......@@ -45,12 +45,12 @@ class Object(object):
# Set the field with the given index to the given value
self._fields[index] = value
def send(self, selectorString, arguments, universe, interpreter):
def send(self, selector_string, arguments, universe, interpreter):
# Turn the selector string into a selector
selector = self._universe.symbol_for(selectorString)
selector = universe.symbol_for(selector_string)
# Push the receiver onto the stack
self._interpreter.get_frame().push(self)
interpreter.get_frame().push(self)
# Push the arguments onto the stack
for arg in arguments:
......@@ -60,7 +60,7 @@ class Object(object):
invokable = self.get_class().lookup_invokable(selector)
# Invoke the invokable
invokable.invoke(self._interpreter.get_frame(), self_.interpreter);
invokable.invoke(interpreter.get_frame(), interpreter)
def send_does_not_understand(self, selector, universe, interpreter):
......
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