Skip to content

Commit 8d0963c

Browse files
committed
Add failing test case for purescript#1169
1 parent c84d2fd commit 8d0963c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

examples/failing/1169.purs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-- @shouldFailWith IncorrectConstructorArity
2+
module Test where
3+
4+
data Outer a = Outer a
5+
6+
data Inner a b = Inner a b
7+
8+
test1 :: forall a b. Outer (Inner a b) -> Boolean
9+
test1 (Outer (Inner _)) = true
10+
11+
test2 :: forall a b. Inner a b -> Boolean
12+
test2 (Inner _) = true

0 commit comments

Comments
 (0)