Merge pull request #1951 from purescript/revert-1913-bugfix-1881
Revert "Fix indentation bug #1881"
commitc89b9fd999ccc2f550061b95fd78bd7045f731f5
authorPhil Freeman <paf31@cantab.net>
dateSun 13 Mar 2016, 14:27 (11 years ago)
parent552df09f8b2780
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
9393 where
9494 parseValueWithWhereClause :: TokenParser Expr
9595 parseValueWithWhereClause = do
96− C.indented
9796 value <- parseValue
9897 whereClause <- P.optionMaybe $ do
9998 C.indented