Add unreachable

This commit is contained in:
Shunsuke Shibayama 2022-10-23 01:01:24 +09:00
parent 4068a5ba07
commit 52a00930f4
2 changed files with 11 additions and 2 deletions

View file

@ -3,9 +3,9 @@ sum2 [x, y]: [Nat; 2] =
print! sum2 [1, 2]
x = match "c" + "":
x = match "a" + "":
"a" -> 1
"b" -> 2
_ -> 3
_ -> unreachable()
print! x