Regression: simple loop in v1.9 hangs when iterating over elements of a linked list #49935
Labels
backport 1.9
Change should be backported to release-1.9
regression
Regression in behavior compared to a previous version
Here is a conceived example of simple heterogeneous linked list:
When running reverse2 function over a small list Julia hangs (the loop does not terminate)
The function does not even print "start", so maybe it is stuck already during compilation (?)
The problem appears with Julia 1.9.0. This was not an issue for earlier Julia versions, e.g. 1.6 or 1.7 (did not check on 1.8).
Interstingly, the problem does not appear when the list is not passed to, but constructed inside, the function
The text was updated successfully, but these errors were encountered: