Skip to main content

SharedTypecheckingContext

Type Alias SharedTypecheckingContext 

Source
pub type SharedTypecheckingContext = Arc<Mutex<BTreeMap<Id, Vec<ReprColumnType>>>>;
Expand description

Typechecking contexts as shared by various typechecking passes.

We use a RefCell to ensure that contexts are shared by multiple typechecker passes. Shared contexts help catch consistency issues.

Aliased Typeยง

pub struct SharedTypecheckingContext { /* private fields */ }