An issue has been opened on the Crystal's project issue tracker: https://github.com/crystal-lang/crystal/issues/2499 .