-
Notifications
You must be signed in to change notification settings - Fork 333
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
Add declare function
E2 construct
#2969
Conversation
…rk on compiler support of it
It's unnecessary. In the future there will be an analyzer and multiple passes so you could just call functions before they're declared regardless on |
This is both an temporal implementation for After all, you can't forward declare functions on |
Temporary patches shouldn't lock us into syntax like this. Also not too happy with the compiler/parser implementation |
How do you suggest to add this feature without modifying syntax? Only way I can see is to add special function, say And what is wrong with implementation? |
By waiting for the analyzer step to be implemented?
I can do a review later. But it's pointless if I'm against this idea entirely, which is why I didn't make one |
You've broke forward declaration without providing alternative for almost one month. Why shouldn't this be available to other E2 users? |
During the holidays. Really can't be patient? And I already gave a solution in your issue, just remove |
I just gave my reason. You can scroll up to read it again. |
Allows using a function before the line of code where it is defined.
Fixes #2910.