Explorer

core.build-type-env

description
Build the type environment for checking parts from the declared types of the latest parts of all modules (type parts also pass their declaration expression)
type
Fn(
  entries: List<Record{
    part_definition_event_hash: String,
    part_type: @core.expression,
    type_declaration: Union{#none, #some(@core.expression)}
  }>
) -> @core.type-env
expression
fn(entries$0) =>
  {
    variables: [],
    parts: @core.list-hash-index(
      list: @core.build-type-env-parts(entries: $0, index: 0, accum: []),
      field: "part_definition_event_hash"
    ),
    type_parameters: []
  }
visibility
public
core.build-type-env (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: dTJfnTKNxHasTbgG1BDL0po62zKbK0SgBdlehk3MfqQ
content hash: IZJngGEV7U3en3_lCuvX7ln8GtgFtqde0ZrhDf6-LL4