Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Jul 12, 2017
1 parent 8eac63d commit 5febdba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/crinja/lib/util/for_loop.cr
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ class Crinja::Tag::For::ForLoop

property depth0 : Int32 = 0

getattr depth, depth0
# TODO: Explicit receiver `PyObject` is required because of a macro lookup bug (https://github.com/crystal-lang/crystal/issues/4639#issuecomment-314564447)
PyObject.getattr depth, depth0

@loop_runner : Crinja::Tag::For::Runner

Expand Down

0 comments on commit 5febdba

Please sign in to comment.