Skip to content

Commit

Permalink
Correct module lookup in compat macro
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored Jul 15, 2019
1 parent 9a5eeb4 commit e941432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ julia> myjoin("/Users/rory/repos", "FilePaths.jl")
```
"""
macro compat(ex)
mod = @__MODULE__
mod = QuoteNode(__module__)
new_ex = compat_exp(mod, deepcopy(ex))

return quote
Expand Down

0 comments on commit e941432

Please sign in to comment.