[ruby-core:112943] [Ruby master Bug#19540] Undefined variable error when combining modifier if with one-line pattern matching