File tree 1 file changed +15
-19
lines changed
1 file changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -502,40 +502,36 @@ instance (Monad m) ⇒ C m a where
502
502
(2 2 )
503
503
(3 0 2 ))
504
504
505
- (hindent-test " 21a* fix \" let\" statement in \" do\" block" "
505
+ (hindent-test " 21a fix \" let\" statement in \" do\" block" "
506
506
main :: IO ()
507
507
main = do
508
508
let foo = Foo {
509
509
bar = 0
510
- , baz = 0"
510
+ , baz = 0"
511
511
(1 0 )
512
- (2 0 )
512
+ (2 0 8 )
513
513
(3 2 )
514
514
(4 6 )
515
- (5 4 )
516
- (6 4 ))
515
+ (5 6 )
516
+ (6 8 ))
517
517
518
- (hindent-test " 21b* fix named fields in \" data\" declaration" "
518
+ (hindent-test " 21b fix named fields in \" data\" declaration" "
519
519
data Foo = Foo {
520
520
bar :: Int
521
- , baz :: Int"
521
+ , baz :: Int"
522
522
(1 0 )
523
- (2 4 )
523
+ (2 2 )
524
524
(3 2 )
525
- (4 2 ))
525
+ (4 4 11 ))
526
526
527
- (hindent-test " 21c* fix \" let\" statement and record in \" do\" block" "
528
- main :: IO ()
529
- main = do
530
- let foo = Foo {
531
- bar = 0
532
- , baz = 0"
527
+ (hindent-test " 21c* \" data\" declaration open on next line" "
528
+ data Foo = Foo
529
+ { bar :: Int
530
+ , baz :: Int"
533
531
(1 0 )
534
- (2 0 )
532
+ (2 2 )
535
533
(3 2 )
536
- (4 14 )
537
- (5 12 )
538
- (6 12 ))
534
+ (4 4 11 ))
539
535
540
536
(hindent-test " 22 should obey layout only outside parentheses" "
541
537
func = 1234
You can’t perform that action at this time.
0 commit comments