-
Notifications
You must be signed in to change notification settings - Fork 103
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
Use of const String in receive parameter #51
Comments
Nevermind, I got it to work |
Reopened as this is indeed impossible |
impossible because you should not do |
What's the reason for that? It feels like completely natural semantics. |
reason I guess to do another N compiler passes, what's the problem to utilize any template processor and do such replaces if you want moreover you are free to extend compiler and add this writer, why don't you try? |
look, the code you are writing running NOT WHILE COMPILING but on TVM, this is why you shouldn't even think 'cause it's broken design |
Of course I can preprocess. But I also want the language itself to have good properties. The compiler should just replace const string with its content first. |
no it should not you are wrong but let's stop the flame. you will not believe me and I remember when was just like you to waste more time on this |
The following code should work:
Currently it report error
Syntax error: expected ":"
The text was updated successfully, but these errors were encountered: