core.type-check
- description
- Self-hosted type checker verifying expressions and deriving types. Errors are located at the innermost expression where they were found
- type
Fn(expr: @core.expression, env: @core.type-env) -> @core.type-result
- expression
fn(expr$0, env$1) => match @core.type-check-unlocated(expr: $0, env: $1) { #ok(t$2) => #ok($2), #error(e$3) => match $3 { #located(l$4) => #error($3), _ => #error(#located({expression: $0, error: $3})) } }
- visibility
- public
core.type-check (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44) id: DdZcvMXQ-EzApIXCoyl-ZFuWMXiUePGaailIm6LWqj4 content hash: wByZXM5F4ejiNN25eHSKLunbGf6G99Vk3mBSOYEfxSk