I've encountered https://bugs.ruby-lang.org/issues/10533 and discovered it =
was fixed incompletely. I've also managed to find the root cause and propos=
ed a solution, which only involves in switching 2 lines of code (see the at=
tached patch to this issue)

I would like to get it fixed in at least 2.2.2 and higher.

I've already attempted to contact Eric Hodel and Martin Bosslet (Martin was=
 assigned the duplicate issue https://bugs.ruby-lang.org/issues/10398) but =
have yet to receive a response.

Kind regards,
Michiel.