ActionsLike0
Bug #5540
closedFinal comma in argument list before block causes syntax error
Description
The following code parses and runs correctly under 1.9.2-p290 but causes a syntax error under 1.9.3-p0:
def test(foo, &block); end
test 'hello', do; end
Updated by kosaki (Motohiro KOSAKI) over 13 years ago
- Category set to core
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
Updated by matz (Yukihiro Matsumoto) over 13 years ago
- Status changed from Assigned to Rejected
ActionsLike0