Closed cyoon1729 closed 1 year ago
This PR re-implements the pattern matching anomaly detection algorithm (by Luc Maranget) on the IR. The same algorithm was previously implemented to perform on the AST, but was decided to be re-implemented in the IR, together with the type checker.
All test cases pass
@cyoon1729 Can you just add a few more test cases? For example, we need test cases for "useless" pattern checking.
@cyoon1729 can you merge this in? I don't think it'll break my branch that badly.
This PR re-implements the pattern matching anomaly detection algorithm (by Luc Maranget) on the IR. The same algorithm was previously implemented to perform on the AST, but was decided to be re-implemented in the IR, together with the type checker.
Current status:
All test cases pass