improve error detection in case-tree building

This commit is contained in:
2024-12-07 20:50:22 -08:00
parent 6ba88713f1
commit 9c0b20a6ce
5 changed files with 54 additions and 15 deletions

View File

@@ -7,6 +7,21 @@ import Lib.ProcessDecl
import Lib.TopContext
import Lib.Syntax
{-
Expect these to throw. (need failing blocks or a white box test here)
After we get pack/lsp issues sorted with this directory
foo : Maybe (Int × Int) -> Int
foo 1 = ?
foo _ = ?
foo : Maybe (Int × Int) -> Int
foo (1,1) = ?
foo _ = ?
-}
testCase : M ()
testCase = do
-- need to get some defs in here