[GHC] #13917: The line on which to locate the error indication is bad.

GHC ghc-devs at haskell.org
Mon Jul 3 20:28:32 UTC 2017


#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
      Resolution:                    |             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:                    |
-------------------------------------+-------------------------------------

Comment (by j.waldmann):

 No. This program (with a change in line 5 onle) is valid:
 {{{
 module Qwer where

 a = {-# LANGUAGE KindSignatures #-}

   main :: IO ()
 main = print (if True then () else ())
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13917#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list