
#13917: The line on which to locate the error indication is bad. -------------------------------------+------------------------------------- Reporter: vanto | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Incorrect Unknown/Multiple | error/warning at compile-time Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- {{{ module Qwer where a = {-# LANGUAGE KindSignatures #-} main :: IO () main = print (if True then () else ()) }}} Reply from GHC\\ {{{ Prelude> :l qwer.hs [1 of 1] Compiling Qwer ( qwer.hs, interpreted ) qwer.hs:5:1: error: parse error (possibly incorrect indentation or mismatched brackets) | 5 | main :: IO () | ^ Failed, modules loaded: none. }}} The error is located on line 3.\\ GHCi, version 8.2.0.20170507 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13917 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler