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

Function hoisting not supported #22

Open
chengda300 opened this issue Sep 4, 2024 · 0 comments
Open

Function hoisting not supported #22

chengda300 opened this issue Sep 4, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@chengda300
Copy link
Contributor

chengda300 commented Sep 4, 2024

For now, functions must be declared before being called.
In the actual language, functions can be called first before being declared in the same program.
(Might be a problem with main() being called earlier than it is supposed to, which means main() should be called last)

@chengda300 chengda300 added the good first issue Good for newcomers label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant