-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
backport 1.10Change should be backported to the 1.10 releaseChange should be backported to the 1.10 releasebugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcompiler:optimizerOptimization passes (mostly in base/compiler/ssair/)Optimization passes (mostly in base/compiler/ssair/)
Description
While working on #36832 I cam across:
UndefVarError: `limitrepr` not defined
Stacktrace:
[1] setindex!(d::Core.Compiler.IdDict{Core.SSAValue, Core.SSAValue}, val::Any, key::Any)
@ Core.Compiler ./iddict.jl:87
function setindex!(d::IdDict{K,V}, @nospecialize(val), @nospecialize(key)) where {K, V}
!isa(key, K) && throw(ArgumentError("$(limitrepr(key)) is not a valid key for type $K"))
if !(val isa V) # avoid a dynamic call
val = convert(V, val)::V
end
Metadata
Metadata
Assignees
Labels
backport 1.10Change should be backported to the 1.10 releaseChange should be backported to the 1.10 releasebugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcompiler:optimizerOptimization passes (mostly in base/compiler/ssair/)Optimization passes (mostly in base/compiler/ssair/)