git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1951 from purescript/revert-1913-bugfix-1881
c89b9fdPhil Freeman
examples/failing/1881.pursdeleted−6
@@ -1,6 +0,0 @@
1−-- @shouldFailWith ErrorParsingModule
2−module Main where
3−
4−foo =
5−bar :: Int
6−bar = 3
examples/passing/1881.pursdeleted−17
@@ -1,17 +0,0 @@
1−module Main where
2−
3−foo =
4− 1
5−
6−bar
7− = 2
8−
9−baz
10− =
11− 3
12−
13−qux
14− =
15− 3
16−
17−main = Control.Monad.Eff.Console.log "Done"
src/Language/PureScript/Parser/Declarations.hs−1
@@ -93,7 +93,6 @@ parseValueDeclaration = do
93 where
93 where
94 parseValueWithWhereClause :: TokenParser Expr
94 parseValueWithWhereClause :: TokenParser Expr
95 parseValueWithWhereClause = do
95 parseValueWithWhereClause = do
96− C.indented
97 value <- parseValue
96 value <- parseValue
98 whereClause <- P.optionMaybe $ do
97 whereClause <- P.optionMaybe $ do
99 C.indented
98 C.indented