Unary ops and case canonicalization compile!

This commit is contained in:
Richard Feldman 2019-11-07 20:11:44 -05:00
parent 7ab7fdb88c
commit 97d424f99b
6 changed files with 513 additions and 206 deletions

View file

@ -31,6 +31,9 @@ pub fn solve(env: &Env, subs: &mut Subs, constraint: &Constraint) {
solve(env, subs, sub_constraint);
}
}
Pattern(_, _, _, _) => {
panic!("TODO solve patterns");
}
Let(let_con) => {
match let_con.ret_constraint {
True => {