From: zverok.offline@... Date: 2020-12-19T11:57:01+00:00 Subject: [ruby-core:101540] [Ruby master Bug#17410] One-line pattern-matching deprecation is lost on singular variable assignment Issue #17410 has been reported by zverok (Victor Shepelev). ---------------------------------------- Bug #17410: One-line pattern-matching deprecation is lost on singular variable assignment https://bugs.ruby-lang.org/issues/17410 * Author: zverok (Victor Shepelev) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- Is this intentional? Probably an effect of changing the behavior of warning categories? ```ruby RUBY_REVISION # => "1ba8d63b49318e5682a22502c5f5b70e3298da8f" [1, 2, 3] => [x, *] # (irb):8: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby! 1 => x # ....no deprecation... ``` -- https://bugs.ruby-lang.org/ Unsubscribe: