Skip to content

Commit 71d84e6

Browse files
Fix parsing of type paren (#20)
1 parent ebefb58 commit 71d84e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ By adding your name to the list below, you agree to license your contributions u
1717
| [@colinwahl](https://github.com/colinwahl) | Colin Wahl
1818
| [@kritzcreek](https://github.com/kritzcreek) | Christoph Hegemann
1919
| [@rintcius](https://github.com/rintcius) | Rintcius Blok
20+
| [@i-am-the-slime](https://github.com/i-am-the-slime) | Mark Eibes

src/PureScript/CST/Parser.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ parseKindedVar open = do
512512

513513
parseTypeParen :: SourceToken -> Parser (Recovered Type)
514514
parseTypeParen open = do
515-
value <- parseType1
515+
value <- parseType
516516
close <- tokRightParen
517517
pure $ TypeParens $ Wrapped { open, value, close }
518518

0 commit comments

Comments
 (0)