straight-shoota / crinja

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

Fix abstract method return types #27

Closed straight-shoota closed 5 years ago

straight-shoota commented 5 years ago

This applies return types on abstract method implementations as will be required in Crystal 0.30.0 (see crystal-lang/crystal#7956).

Most return types on abstract methods are simply removed because the actual return types are too complex (Callable#call and Operator#value are pretty generic and can return anything accepted by Crinja.value).