Fix type wildcards
commitd5e647fe1e5f3310b964d298978e4f1d50564990
authorGary Burgess <gary.burgess@gmail.com>
dateFri 6 Feb 2015, 21:00 (12 years ago)
parent764b925
src/Language/PureScript/Parser/Types.hs+1−1
@@ -45,7 +45,7 @@ parseObject :: TokenParser Type
4545parseObject = braces $ TypeApp tyObject <$> parseRow
4646
4747parseTypeWildcard :: TokenParser Type
48−parseTypeWildcard = reserved "_" >> return TypeWildcard
48+parseTypeWildcard = underscore >> return TypeWildcard
4949
5050parseTypeVariable :: TokenParser Type
5151parseTypeVariable = do