Skip to content

Commit 3872d57

Browse files
authored
[red-knot] add regression test for fixed cycle panic (#17535)
Add a regression test for the cycle documented in #14767, which no longer panics (or even causes a cycle at all.) Fixes #14767
1 parent 27ada26 commit 3872d57

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from __future__ import annotations
2+
3+
def foo(a: foo()):
4+
pass

0 commit comments

Comments
 (0)