JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.82k stars 5.49k forks source link

AssertionError(msg="irinterp is unable to handle heavy recursion") #55843

Open vtjnash opened 1 month ago

vtjnash commented 1 month ago

Also hit in PkgEval for GeometryOps, and appears to be a recent regression there: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2024-09/14/report.html

maleadt commented 1 month ago

Very strange MWE:

/tmp/Foo.jl

module Foo
import Markdown
"""
"""
wat
end
if
❯ JULIA_LOAD_PATH=/tmp: julia +nightly -e 'using Foo'
Internal error: during type inference of
docm(LineNumberNode, Module, Any, Any)
Encountered unexpected error in runtime:
AssertionError(msg="irinterp is unable to handle heavy recursion")

Bisected to #55754, which seems incidental.