File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
src/Language/PureScript/Parser Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ -- @shouldFailWith ErrorParsingModule
2+ module Main where
3+
4+ class Foo x where
5+
6+ bar :: String
7+ bar = " hello"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module Main where
22
33import Control.Monad.Eff.Console
44
5- class Partial where
5+ class Partial
66
77data List a = Nil | Cons a (List a )
88
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ parseTypeClassDeclaration = do
201201 idents <- P. many (indented *> kindedIdent)
202202 members <- P. option [] . P. try $ do
203203 indented *> reserved " where"
204- mark (P. many (same *> positioned parseTypeDeclaration))
204+ indented *> mark (P. many (same *> positioned parseTypeDeclaration))
205205 return $ TypeClassDeclaration className idents implies members
206206
207207parseInstanceDeclaration :: TokenParser (TypeInstanceBody -> Declaration )
You can’t perform that action at this time.
0 commit comments