From: shevegen@... Date: 2019-07-10T09:27:13+00:00 Subject: [ruby-core:93653] [Ruby master Bug#10463] :~@ and :!@ are not parsed correctly Issue #10463 has been updated by shevegen (Robert A. Heiler). Interesting - I did not know this. sawa finds stuff. :) Personally I would be in favour of changing the behaviour as Jeremy described (I also think this may be a bug or perhaps an oddity), but I guess it depends on a) whether matz wants to change it in the first place and b) then when to change it, if a) evaluates to a change. A secondary consideration may be to query how many ruby users depend on this backwards behaviour. I have no statistical dataset to make a statement either way, but from intuition, I would venture that this change would not affect a lot of ruby code out there; I could be wrong though. ---------------------------------------- Bug #10463: :~@ and :!@ are not parsed correctly https://bugs.ruby-lang.org/issues/10463#change-79264 * Author: sawa (Tsuyoshi Sawada) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.1.4 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- The at mark in literal symbols `:~@` and `:!@` are ignored. ~~~ruby :~@ # => :~ :!@ # => :! ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>