add @francisdb-inspired pattern-matching issue test

This commit is contained in:
Arya Irani 2019-03-06 17:23:13 -05:00
parent 452d81a211
commit 3126620b95
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
go =
a = 1
case "" of
pos | false -> a
_ -> a
> go
-- 7 | > go
-- ⧩
-- ""
-- should be 1, not ""
-- seems to have something to do with the wildcard + guard, as changing or
-- or deleting that line makes the problem go away

View File

@ -0,0 +1 @@
1