Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

26 Function prototypes #56

Open
ThrudTheBarbarian opened this issue Dec 27, 2022 · 0 comments
Open

26 Function prototypes #56

ThrudTheBarbarian opened this issue Dec 27, 2022 · 0 comments

Comments

@ThrudTheBarbarian
Copy link

I may be missing something here, but I think there's a typo in the code to check function parameters vs a prototype...

Screen Shot 2022-12-27 at 11 04 20 AM

It looks as though the type for each argument is matched against the type of the function (Symtable[id].type), not the parameter in the prototype (which would be indexed by param_id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant