StackOverflow in type inference #20344
Labels
bug
Indicates an unexpected problem or unintended behavior
priority
This should be addressed urgently
types and dispatch
Types, subtyping and method dispatch
Milestone
This is a pretty nifty one that @andreasnoack ran into. Probably related to #20103, but doesn't seem exactly the same.
To reproduce, checkout JuliaStats/Distributions.jl@3e8d9f9 and JuliaDiff/ForwardDiff.jl@791cd93 (at the time of writing, these are both the head of the master branches of these packages).
Then, run the following:
The best part is that this bug can be circumvented by commenting out
Base.zero
andBase.one
definitions on lines 132 and 135 here.versioninfo:
The text was updated successfully, but these errors were encountered: