We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c1dbf2a + a982621 commit a1b5f06Copy full SHA for a1b5f06
src/tail.jl
@@ -117,7 +117,7 @@ Tail recursion that doesn't blow the stack.
117
For simple cases you probably want the much faster `@rec`.
118
"""
119
macro bounce(def)
120
- def = macroexpand(def)
+ def = macroexpand(@__MODULE__, def)
121
@assert isdef(def)
122
@assert isexpr(def.args[1].args[1], Symbol) # TODO: handle f{T}() = ...
123
f = namify(def)
0 commit comments