Skip to content

Commit

Permalink
Refactor: Make wvd a constant global
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Nov 6, 2024
1 parent 187ce45 commit 55ca2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function exprtype(x::BasicSymbolic)
end
end

wvd = WeakValueDict{UInt, BasicSymbolic}()
const wvd = WeakValueDict{UInt, BasicSymbolic}()

# Same but different error messages
@noinline error_on_type() = error("Internal error: unreachable reached!")
Expand Down

0 comments on commit 55ca2ec

Please sign in to comment.