Using type annotations in case expressions, monomorphizer now handles case expressions without crashing
This commit is contained in:
parent
8782556603
commit
60e12b622e
2 changed files with 21 additions and 24 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue