You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./VMTranslator.py FunctionCalls/SimpleFunction/
Traceback (most recent call last):
File "./VMTranslator.py", line 741, in <module>
Main(input).run_program()
File "./VMTranslator.py", line 684, in run_program
init_code = self.function_translator.init_code()
File "./VMTranslator.py", line 475, in init_code
*self.translate_function_call(VMCommand('call Sys.init 0'))
File "./VMTranslator.py", line 532, in translate_function_call
*self._push_referenced_address_onto_stack('LCL'),
TypeError: _push_referenced_address_onto_stack() takes 1 positional argument but 2 were given
Nand2Tetris/projects/08/VMTranslator.py
Line 618 in 999d955
This is runtime error,
So, I think it should be modified as follows.
The text was updated successfully, but these errors were encountered: