Skip to content

Conversation

@patrick-schultz
Copy link
Member

Change Description

Security Assessment

This change cannot impact the Hail Batch instance as deployed by Broad Institute in GCP

IR nodes can't have mutable args. Override apply methods to call inferType.
Remove all assertions from inferType, only computes node's type from children types.
Rewrite TypeCheck to not redundantly assert result type that was computed by inferType.

Add "untyped" constructors, only used in parser

Allow ir-gen to specialize type of `typ`, get rid of `TypedIR`

Make `typ` a constructor arg of all nodes, removing all mutability.

Break up ComputeTypeFromChildren into separate methods callable without constructing a node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants