Internal error: encountered unexpected error in runtime: TypeError(func=:OneTo, context="T", expected=T<:Integer, got=Float64) #42490
Labels
bug
Indicates an unexpected problem or unintended behavior
I receive an internal error
TypeError(func=:OneTo, context="T", expected=T<:Integer, got=Float64)
when running some of my code. It does not appear to prevent execution of code, but does seem to slow it down a bit and prints a stack trace before code starts executing.This may be related to #39082, but that was found in 1.7 whereas this issue is on 1.6.3.
Stacktrace:
Minimal reproducible example (but also see comments for variants). This may be run from the REPL or from a file, both cases trigger the stacktrace.
The text was updated successfully, but these errors were encountered: