I opened an issue: <https://bugs.ruby-lang.org/issues/6632>

Marcus