Using type annotations in case expressions, monomorphizer now handles case expressions without crashing

This commit is contained in:
Rakarake 2023-04-27 13:55:54 +02:00
parent 8782556603
commit 60e12b622e
2 changed files with 21 additions and 24 deletions

View file

@ -1,6 +1,6 @@
const x y = x
const2 x y = x
f x = (const x 'c')
f x = (const2 x 'c')
main = f 5