freshen annotations

This commit is contained in:
Folkert 2023-07-22 18:27:51 +02:00
parent d3ccdb51ea
commit 43adf0635e
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
10 changed files with 277 additions and 58 deletions

View file

@ -19,6 +19,7 @@ mod pools;
mod to_var;
pub use aliases::Aliases;
pub use env::{DerivedEnv, SolveEnv};
pub use env::{DerivedEnv, InferenceEnv, SolveEnv};
pub use kinds::FunctionKind;
pub use pools::Pools;
pub use to_var::type_to_var;

View file

@ -83,7 +83,7 @@ pub(crate) fn either_type_index_to_var(
}
}
pub(crate) fn type_to_var(
pub fn type_to_var(
env: &mut InferenceEnv,
rank: Rank,
problems: &mut Vec<TypeError>,