straight-shoota / crinja

Implementation of Jinja2 template language in Crystal
https://straight-shoota.github.io/crinja/
Other
127 stars 12 forks source link

Make `RawIterator` generic #71

Closed straight-shoota closed 8 months ago

straight-shoota commented 8 months ago

This is a workaround for a Crystal compiler bug (https://github.com/crystal-lang/crystal/issues/14317). But it might also be benefitial on its own (https://github.com/straight-shoota/crinja/issues/70#issuecomment-1962868432) so I'm not leaving a note to eventually revert this.

RawIterator is an undocumented internal type, so this change should be fine with regards to backwards compatibility.

Resolves #70