It seems that the patch is not working anymore. Same behavior is observed as in bug 616256
https://github.com/crystal-lang/crystal/pull/6518 claims to have fixed it last year. Closing assuming it's fixed now.