We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This gives an error:
def hello(begin) end
While this does not:
def hello(begin : String) end
It should not be possible to declare a local variable within a scope that it's impossible to call within.
The text was updated successfully, but these errors were encountered:
Another example:
raise : String = "foo" begin : String = "foo" end : String = "foo" do : String = "foo" # and possibly many other keywords (if not all)...
Sorry, something went wrong.
type works, but that may be due to them only being used inside lib bodies.
type
No branches or pull requests
This gives an error:
While this does not:
It should not be possible to declare a local variable within a scope that it's impossible to call within.
The text was updated successfully, but these errors were encountered: