Ticket #216 (new bug report)

Opened 3 years ago

Indentation handled differently to GHC

Reported by: NeilMitchell2 Owned by: nibro
Priority: major Milestone:
Component: parser Version:
Keywords: Cc:

Description

The following program works under GHC:

main = f where
    f = g where
    g = putStrLn "hello world"

But under HLint (and thus haskell-src-exts) gives:

Patch.hs:5:1: Parse error Error message:

Parse error: ;

Also tracked as: http://code.google.com/p/ndmitchell/issues/detail?id=442

Note: See TracTickets for help on using tickets.