Actions
Bug #11812
closedLack of space between colon and % literal causes syntax error
Bug #11812:
Lack of space between colon and % literal causes syntax error
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0preview2 (2015-12-11 trunk 53028) [x86_64-darwin15]
Backport:
Description
Updated by yugui (Yuki Sonoda) over 10 years ago
r51617 is the cause according to bisect.
Updated by yugui (Yuki Sonoda) over 10 years ago
- Status changed from Open to Closed
Applied in changeset r53092.
- parse.y (parse_percent): Allow %-literals in labeled arg as
r51624 did for parentheses.
Fixes [ruby-core:72084] [Bug #11812].
Updated by yui-knk (Kaneko Yuichiro) over 10 years ago
- Related to Bug #11833: 2.2.4 syntax error when naked percent notation touches keyword arguments added
Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED
Updated by usa (Usaku NAKAMURA) over 10 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED to 2.1: DONTNEED, 2.2: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago
- Backport changed from 2.1: DONTNEED, 2.2: REQUIRED to 2.1: DONTNEED, 2.2: DONE
Backported into ruby_2_2 branch at r53257.
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Has duplicate Bug #11914: 2.2.4: Parsing "symbol:%w(word)" gives SyntaxError added
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Has duplicate Bug #12200: MRI 2.2.4 parser forces blanks for hash keys which point to an array literal added
Actions