Add tests for empty lines around where

remotes/felixonmars/ghc-8.6
Lennart Spitzner 2018-10-10 21:26:55 +02:00
parent 522e40c8ed
commit 2eb22e730f
1 changed files with 35 additions and 0 deletions

View File

@ -1106,3 +1106,38 @@ instance MyClass Int where
-- ^ Interesting field -- ^ Interesting field
, intData2 :: Int , intData2 :: Int
} }
###############################################################################
###############################################################################
###############################################################################
#group whitespace-newlines
###############################################################################
###############################################################################
###############################################################################
#test module-import-newlines
module Main where
import Prelude
firstDecl = True
#test function-where-newlines
func = do
-- complex first step
aaa
-- complex second step
bbb
where
helper :: Helper
helper = helpful
other :: Other
other = True