[#94657] [Ruby master Feature#16131] Remove $SAFE, taint and trust — naruse@...
Issue #16131 has been reported by naruse (Yui NARUSE).
3 messages
2019/08/29
[ruby-core:94172] [Ruby master Bug#16050] :@ is not parsed correctly
From:
sawadatsuyoshi@...
Date:
2019-08-07 10:56:02 UTC
List:
ruby-core #94172
Issue #16050 has been reported by sawa (Tsuyoshi Sawada). ---------------------------------------- Bug #16050: :@ is not parsed correctly https://bugs.ruby-lang.org/issues/16050 * Author: sawa (Tsuyoshi Sawada) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Symbol literal allows `@` as the first character: ```ruby :@foo # => :@foo ``` Nevertheless, it does not allow `@` by itself: ```ruby :@ # >> SyntaxError: `@' without identifiers is not allowed as an instance variable name ``` This resembles #10463, but while #10463 is related to placeholder in a method name, the issue here is related to instance variable name, so I think they are different issues. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>