Actions
Bug #17410
closedOne-line pattern-matching deprecation is lost on singular variable assignment
Description
Is this intentional? Probably an effect of changing the behavior of warning categories?
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...
Actions
Like0
Like0Like0Like0