[GHC] #10768: Location information of LHsModule is incorrect

GHC ghc-devs at haskell.org
Wed Aug 12 14:36:43 UTC 2015


#10768: Location information of LHsModule is incorrect
-------------------------------------+-------------------------------------
              Reporter:  bgamari     |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  low         |         Milestone:
             Component:  Compiler    |           Version:  7.10.2
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  Incorrect
  Unknown/Multiple                   |  warning at compile-time
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:  #597
Differential Revisions:              |
-------------------------------------+-------------------------------------
 The location assigned by the parser to `LHsModule`s is incorrect: it is a
 point span at (1,0) rather then a span encompassing the entire file.

 This was taken from #597, which also included a number of other similar
 issues, all of which are now resolved.

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


More information about the ghc-tickets mailing list