Skip to content

Commit dc37fb5

Browse files
authored
We need to quote it, otherwise it would result in `UnderVarError`.
1 parent f9e56f6 commit dc37fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ include("opaque_closure.jl")
183183

184184
macro __SOURCE_FILE__()
185185
__source__.file === nothing && return nothing
186-
return __source__.file::Symbol
186+
return QuoteNode(__source__.file::Symbol)
187187
end
188188

189189
module IRShow end

0 commit comments

Comments
 (0)