Infinite autoderef causes an infinite loop of reaching the recursion limit #130224
Labels
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to the compiler to report an error or two then terminate. Instead, the compiler gets stuck in an infinite loop outputting the following:
Meta
Reproduces on the playground on "Stable version: 1.81.0" and "1.83.0-nightly (2024-09-05 9c01301)"
The text was updated successfully, but these errors were encountered: