From: zverok.offline@... Date: 2020-12-21T15:07:53+00:00 Subject: [ruby-core:101591] [Ruby master Misc#17399] Are endless methods experimental? Issue #17399 has been updated by zverok (Victor Shepelev). @mame OK. That's kinda weird for me (that some EXPERIMENTAL features are warned as such, and others aren't), but if this is the official policy, let it be so. In 3.0, one-line pattern matching is experimental and warns, Ractors are experimental and warn, endless methods are experimental and don't. Let the chaos reign! :) > Have we considered a `:experimental` warning kind (off by default)? It is actually there, but is ON by default :) ```ruby [1, 2, 3] => [a, *] # (irb):1: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby! Warning[:experimental] = false [1, 2, 3] => [a, *] # => nil ``` ...though, considering that making experimental feature warn is completely on the conscience of each feature's author, I am not sure why anybody bothered to introduce the category. ---------------------------------------- Misc #17399: Are endless methods experimental? https://bugs.ruby-lang.org/issues/17399#change-89376 * Author: zverok (Victor Shepelev) * Status: Open * Priority: Normal ---------------------------------------- They are marked as such in NEWS, but an attempt to define one doesn't produce a warning (unlike other features marked this way, like one-line pattern-matching or find patterns) -- https://bugs.ruby-lang.org/ Unsubscribe: