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

GHC ghc-devs at haskell.org
Tue Jul 4 16:11:34 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 vanto):

 Here we go astray. We realize that by moving {{{main}}} of two spaces to
 the right there is a bug when the expression of {{{a}}} is put between
 brackets (e.g {{{(...)}}}).\\
 On the other hand if {{{main}}} has its usual place and the brackets are
 not put around the expression  of {{{a}}} there is a bug. And the
 designated line is not the right one in my opinion.\\
 What does a member of the Committee think?

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


More information about the ghc-tickets mailing list