[GHC] #14189: Renamer does not preserve location for IEThingWith list items
GHC
ghc-devs at haskell.org
Wed Sep 6 21:08:08 UTC 2017
#14189: Renamer does not preserve location for IEThingWith list items
-------------------------------------+-------------------------------------
Reporter: alanz | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Incorrect API
Unknown/Multiple | annotation
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
In the `RenamedSource` for
{{{#!hs
module Renaming.RenameInExportedType
(
MyType (NT)
) where
data MyType = MT Int | NT
}}}
The `(NT)` is given the location of `MyType` earlier on the line in the
export list.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14189>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list