Skip to content

Commit e572d23

Browse files
authored
fixup!: #56756 (#56758)
We need to quote it, otherwise it would result in `UnderVarError`.
1 parent 8aac4cc commit e572d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/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)