1
Fork 0

Don't ICE when encountering bound regions in generator interior type

This commit is contained in:
Michael Goulet 2024-03-14 11:50:17 -04:00
parent f296c162d8
commit 67f1c53c05
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,8 @@
//@ edition: 2021
//@ check-pass
//@ revisions: current next
//@ ignore-compare-mode-next-solver (explicit revisions)
//@[next] compile-flags: -Znext-solver
// This test verifies that we do not create a query cycle when typechecking has several inference
// variables that point to the same coroutine interior type.