From: zverok.offline@... Date: 2020-12-20T10:17:43+00:00 Subject: [ruby-core:101554] [Ruby master Bug#17410] One-line pattern-matching deprecation is lost on singular variable assignment Issue #17410 has been updated by zverok (Victor Shepelev). Thanks, @mame! (Sorry for a huge amount of tickets from me, I just really need to understand the quirks and reasoning clearly to explain in docs and changelogs.) ---------------------------------------- Bug #17410: One-line pattern-matching deprecation is lost on singular variable assignment https://bugs.ruby-lang.org/issues/17410#change-89338 * Author: zverok (Victor Shepelev) * Status: Closed * 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: