checkpoint working parse tests

This commit is contained in:
Folkert 2021-03-13 15:49:07 +01:00
parent d2251cced2
commit 0be4704f94
5 changed files with 152 additions and 28 deletions

View file

@ -420,6 +420,9 @@ fn binop_to_function(binop: BinOp) -> (&'static str, &'static str) {
And => (ModuleName::BOOL, "and"),
Or => (ModuleName::BOOL, "or"),
Pizza => unreachable!("Cannot desugar the |> operator"),
Assignment => unreachable!("Cannot desugar the = operator"),
HasType => unreachable!("Cannot desugar the : operator"),
Backpassing => unreachable!("Cannot desugar the <- operator"),
}
}