-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
if cond then
works
#6846
Comments
I feel like this has been brought up a hundred times before but I can't find the references. |
If you replace |
Maybe this is a feature? This way we can make our code more polite by writing if true please
println("here")
end We can even add an INTERCAL-like feature in which a program that does not contain Seriously, though, I'm inclined agree with @StefanKarpinski that using an undefined variable in a void context should be an error. I'm finding a hard time imagining a practical use case for this. |
I was using this for inline comments before we got the
(I kid. +1 for errors here, but it's bigger than just if clauses.) |
Right, it's any use of an undefined variable in a void context. |
Should this be a undefined variable error?
The text was updated successfully, but these errors were encountered: