Expand description
Type checking pass
This pass:
- Infers types for all expressions
- Checks that operators are applied to correct types
- Checks that function calls have correct arguments
- Tracks unsafe context and enforces safety rules
Structs§
- Safety
Context - Tracks whether we’re in an unsafe context
- Type
Checker - Type checker
- Type
Context - Type context for tracking types during type checking