Actions
Bug #11099
closeddef assert method raise syntax error
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
Description
In ruby 2.2, when i try
def assert(*args, &blk)
end
assert(a > 0 and a < 1)
it will raise
Uncaught exception: /home/roroco/Dropbox/rbs/ro_btc/ex/ex.rb:5: syntax error, unexpected keyword_and, expecting ')'
assert(a > 0 and a < 1)
Actions
Like0
Like0Like0