Skip to content

Commit 0cac6df

Browse files
committed
Fix generator of identifiers
1 parent 1ba4d72 commit 0cac6df

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/Main.hs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@ genIdentifier = listOf1 genLetter `suchThat` notForbidden
3131
notForbidden "then" = False
3232
notForbidden "else" = False
3333
notForbidden "lam" = False
34+
notForbidden "inl" = False
35+
notForbidden "inr" = False
36+
notForbidden "proj1" = False
37+
notForbidden "proj2" = False
38+
notForbidden "case" = False
39+
notForbidden "of" = False
40+
notForbidden "as" = False
3441
notForbidden _ = True
35-
3642

3743
instance Arbitrary TypeL where
3844
arbitrary = frequency

0 commit comments

Comments
 (0)