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