IUCompilerCourse / python-student-support-code

Support for for students (Python)
MIT License
57 stars 38 forks source link

Added limit_functions pass to 'compile' function in utils.py #6

Closed Fyrbll closed 1 year ago

Fyrbll commented 1 year ago

This pull request is in response to a post in our Slack.

Something I noticed - the reference compiler for the many-args test does not appear to assign the sixth argument to a tuple (containing the remaining arguments). This is especially noted in the select instructions step, where it appears to access variables g and h out of nothing… is there something I’m missing, or is this an issue with the autograder and/or solution?

Seems that the compile function in utils.py, which is called from each *-server.py file, did not mention the limit_functions pass. I have added it.