-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
auto_unbox Error #16165
Comments
+1 I had one too. Probably caused by recent type inference changes (@JeffBezanson @vtjnash) The source code was:
fixed by renaming the argument
|
It looks like inlining (or another optimization pass) lost the TypedSlot for |
ok, definitely an inliner bug (specifically with the creation of temporaries). min repro: julia> @inline f(x) = (x = UInt(x) + 1)
f (generic function with 1 method)
julia> g(x) = f(x)
g (generic function with 1 method) |
I've been getting an
auto_unbox
errorThis error also occurs if I run in it a
let
blockon the second run.
It doesn't seem to matter what order the
for
loop orpermutation
occur in, and thefor
loop can be a comprehension and still raise the error. No error occurs if I usemap
instead of the loop (my current work around).code_typed
returns something different for each definition (gist, diff), but I'm not sure what I'd be looking for in those.Possibly related, the following commands:
give either a
StackOverflowError
or abus error
(gist).The text was updated successfully, but these errors were encountered: