Actions
Bug #8670
closed"100do" should be a syntax error
Description
=begin
In certain contexts, `do' adjacent to a number can be parsed as a distinct token instead of syntax error.
For example:
(({Shoes.app width: 330do end}))
=end
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Category set to syntax
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
- Priority changed from Normal to 3
- Target version set to 2.1.0
I've thought it's a spec.
Updated by naruse (Yui NARUSE) over 11 years ago
nobu (Nobuyoshi Nakada) wrote:
I've thought it's a spec.
I think so too and it should be.
Updated by matz (Yukihiro Matsumoto) over 11 years ago
- Status changed from Assigned to Rejected
It's spec. Ruby does not require spaces when it's clear.
Matz.
Actions
Like0
Like0Like0Like0