Actions
Bug #14700
closedEndless ranges don't seem to work properly with case statements
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0dev (2018-04-20 trunk 63199) [x86_64-darwin17]
Description
I'm running into an unexpected error with this code
case 1
when 0..
end
#!> SyntaxError: unexpected keyword_end, expecting keyword_then or ',' or ';' or '\n'
Thanks!
Actions
Like0
Like0