Skip to content

Commit

Permalink
Fix parsing of type paren (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-the-slime authored Jul 23, 2021
1 parent ebefb58 commit 71d84e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ By adding your name to the list below, you agree to license your contributions u
| [@colinwahl](https://github.com/colinwahl) | Colin Wahl
| [@kritzcreek](https://github.com/kritzcreek) | Christoph Hegemann
| [@rintcius](https://github.com/rintcius) | Rintcius Blok
| [@i-am-the-slime](https://github.com/i-am-the-slime) | Mark Eibes
2 changes: 1 addition & 1 deletion src/PureScript/CST/Parser.purs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ parseKindedVar open = do

parseTypeParen :: SourceToken -> Parser (Recovered Type)
parseTypeParen open = do
value <- parseType1
value <- parseType
close <- tokRightParen
pure $ TypeParens $ Wrapped { open, value, close }

Expand Down

0 comments on commit 71d84e6

Please sign in to comment.