glossary: type inference (#7781)

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2025-05-12 14:10:32 +02:00 committed by GitHub
parent 4b1a6ac90b
commit f479d6227e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,12 @@ Closure implementation:
## Type Inference
TODO
The process of automatically determining the types of expressions without explicit [type annotations](#type-signature) from the programmer.
The compiler analyzes how values are used in code to deduce their types.
Type inference implementation:
- new compiler: Not yet implemented
- old compiler: Type inference is spread over multiple crates: [solve](crates/compiler/solve), [late-solve](crates/compiler/solve),[unify](crates/compiler/unify), [constrain](crates/compiler/constrain), ...
## Type Solving