Skip to content

Commit

Permalink
Update the informal section describing the constraint solution for a …
Browse files Browse the repository at this point in the history
…set of type variables
  • Loading branch information
chloestefantsova committed Dec 2, 2024
1 parent e165b9b commit 752cbd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/type-system/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,9 @@ consequences it has on type inference:_
is, a type that does not contain `_`), that choice is frozen and is not
affected by later type inference steps. (Type inference accomplishes this
by passing in any frozen choices as part of the partial solution)._
- _The bound of a type variable is only included as a constraint when the
choice of type for that type variable is about to be frozen._
- _The bound of a type variable participates in additional constraint
generation when the choice of type for that type variable is about to be
frozen._
- _During each round of type inference, type variables are inferred left to
right. If the bound of one type variable refers to one or more type
variables, then at the time the bound is included as a constraint, the type
Expand Down

0 comments on commit 752cbd7

Please sign in to comment.