mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
Merge pull request #5288 from roc-lang/i4725
Do not replace already-recursive lambda sets in occurs checks
This commit is contained in:
commit
8739099bdc
2 changed files with 26 additions and 1 deletions
|
@ -3609,7 +3609,7 @@ fn check_for_infinite_type(
|
|||
}
|
||||
Content::LambdaSet(subs::LambdaSet {
|
||||
solved,
|
||||
recursion_var: _,
|
||||
recursion_var: OptVariable::NONE,
|
||||
unspecialized,
|
||||
ambient_function: ambient_function_var,
|
||||
}) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue