mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Find pattern is no longer experimental [Feature #18585]
This commit is contained in:
parent
3200d97e95
commit
db6b23c76c
3 changed files with 4 additions and 23 deletions
3
parse.y
3
parse.y
|
@ -4356,9 +4356,6 @@ p_args_tail : p_rest
|
|||
p_find : p_rest ',' p_args_post ',' p_rest
|
||||
{
|
||||
$$ = new_find_pattern_tail(p, $1, $3, $5, &@$);
|
||||
|
||||
if (rb_warning_category_enabled_p(RB_WARN_CATEGORY_EXPERIMENTAL))
|
||||
rb_warn0L_experimental(nd_line($$), "Find pattern is experimental, and the behavior may change in future versions of Ruby!");
|
||||
}
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue