[GHC] #5984: TH: newtypes are converted to datas
GHC
cvs-ghc at haskell.org
Mon Apr 2 14:44:25 CEST 2012
#5984: TH: newtypes are converted to datas
--------------------------------+-------------------------------------------
Reporter: mikhail.vorozhtsov | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.5 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------+-------------------------------------------
Commit b857c8ad367877f424b5fca50bd45199f39f86c7 has a typo in `cvtDec`
that causes a `NewtypeD` to be translated to `TyData` with
`tc_ND=DataType` instead of `NewType`. Trivial fix attached.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5984>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list