From: frederick.cheung@... Date: 2015-12-12T18:24:22+00:00 Subject: [ruby-core:72084] [Ruby trunk - Bug #11812] [Open] Lack of space between colon and % literal causes syntax error Issue #11812 has been reported by Frederick Cheung. ---------------------------------------- Bug #11812: Lack of space between colon and % literal causes syntax error https://bugs.ruby-lang.org/issues/11812 * Author: Frederick Cheung * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0preview2 (2015-12-11 trunk 53028) [x86_64-darwin15] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The following snippet ~~~ {tags:%w(a)} ~~~ executes fine in ruby 2.2.3, but raises "syntax error, unexpected '%" when run under ruby 2.3.0preview2. When it is changed to ~~~ {tags: %w(a)} ~~~ Then it parses with ruby 2.3.0preview2 too. -- https://bugs.ruby-lang.org/