-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New stack overflow in type inference on old package. #53585
Labels
Milestone
Comments
KristofferC
added
regression
Regression in behavior compared to a previous version
compiler:inference
Type inference
labels
Mar 4, 2024
MWE julia> let t = ntuple(i -> i % 8 == 1 ? Int64 : Float64, 4000) # fails somewhere around 700 for me -- the literal above has 693 elements
Base.return_types(Base.promote_typeof, t) # or Base.return_types(vcat, t)
end |
vtjnash
added a commit
that referenced
this issue
Mar 8, 2024
It is easy to accidentally call these functions (they are used by vcat, which is syntax) with very long lists of values, causing inference to crash and take a long time. The `afoldl` function can handle that very well however, while naive recursion did not. Fixes #53585
vtjnash
added a commit
that referenced
this issue
Mar 12, 2024
It is easy to accidentally call these functions (they are used by vcat, which is syntax) with very long lists of values, causing inference to crash and take a long time. The `afoldl` function can handle that very well however, while naive recursion did not. Fixes #53585
vtjnash
added a commit
that referenced
this issue
Mar 12, 2024
It is easy to accidentally call these functions (they are used by vcat, which is syntax) with very long lists of values, causing inference to crash and take a long time. The `afoldl` function can handle that very well however, while naive recursion did not. Fixes #53585
vtjnash
added a commit
that referenced
this issue
Mar 12, 2024
It is easy to accidentally call these functions (they are used by vcat, which is syntax) with very long lists of values, causing inference to crash and take a long time. The `afoldl` function can handle that very well however, while naive recursion did not. Fixes #53585
KristofferC
pushed a commit
that referenced
this issue
Apr 18, 2024
It is easy to accidentally call these functions (they are used by vcat, which is syntax) with very long lists of values, causing inference to crash and take a long time. The `afoldl` function can handle that very well however, while naive recursion did not. Fixes #53585 (cherry picked from commit df28bf7)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Copy pasting the following into the REPL:
kills julia with
Seen on PkgEval https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/0520b80_vs_997b49f/Elliptic.primary.log.
I don't think this code is very weird and the package is quite old so I would say this is a regression
The text was updated successfully, but these errors were encountered: