Separate typing & pattern matching compilation
type:internal
This MR separated the type-checking & pattern matching compilation in pattern_matching.ml
This simplifies the pattern matching compilation flow, and lays some ground work for better cases analysis,
Follow up MR's:
- Missing case analysis after typing
- Rewrite
product_rule
- Change ast types to differentiate between E_matching & E_case
- Have
type_expression
part of pattern fromast_typed
onwards
Changelog details:
Edited by Melwyn Saldanha