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
(Apologies if this has already been filed, but it's difficult to search for)
The parser does not like block arguments on the var[] syntax. Example:
var[]
class Test def [](key, &block) yield end end t = Test.new t["test"] { puts "test" }
Same with do...end. The t.[]("test") { puts "test" } it's sugar for, works fine, but that's pretty ugly in my opinion.
do...end
t.[]("test") { puts "test" }
The text was updated successfully, but these errors were encountered:
For the record, this works in Ruby
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
(Apologies if this has already been filed, but it's difficult to search for)
The parser does not like block arguments on the
var[]
syntax. Example:Same with
do...end
. Thet.[]("test") { puts "test" }
it's sugar for, works fine, but that's pretty ugly in my opinion.The text was updated successfully, but these errors were encountered: