roc/crates/compiler/solve
Ayaz Hafiz d3e14550d8
Leave variables behind when converting Types to variables
This is part one of addressing the present issues with emplacing type
directly where type variables should be reused. Now, when an
`Index<Type>` is converted to a variable in solving, we leave the
converted variable in the `Type`'s place. Specifically, we keep an index
to a `Cell<Type>`.

Note that this transformation is only temporary, it will be removed once
we merge this with the `Type` SoA representation, but it is needed in
the meantime as I transform the `Constrain` API to get rid of
type-emplacement.
2022-10-24 11:42:35 -05:00
..
docs Add language to all fenced code blocks 2022-09-09 01:12:31 -06:00
src Leave variables behind when converting Types to variables 2022-10-24 11:42:35 -05:00
tests Make sure self-recursive checks only happen after typechecking 2022-10-17 09:59:32 -05:00
Cargo.toml Bump insta from 1.19.0 to 1.20.0 2022-09-26 07:14:24 +00:00