#4169: TH vs. default function implementation: internal error
---------------------------+------------------------------------------------
  Reporter:  verdelyi      |          Owner:                  
      Type:  bug           |         Status:  closed          
  Priority:  normal        |      Milestone:                  
 Component:  Compiler      |        Version:  6.12.3          
Resolution:  fixed         |       Keywords:                  
  Testcase:                |      Blockedby:                  
Difficulty:                |             Os:  Unknown/Multiple
  Blocking:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Thanks for the report. I can reproduce this with 6.12, but it works in the
 HEAD:
 {{{
 $ ghci q.hs
 GHCi, version 6.13.20100731: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package ffi-1.0 ... linking ... done.
 Ok, modules loaded: Q.
 Prelude Q> Language.Haskell.TH.runQ ast
 Loading package pretty-1.0.1.1 ... linking ... done.
 Loading package array-0.3.0.0 ... linking ... done.
 Loading package containers-0.3.0.0 ... linking ... done.
 Loading package template-haskell ... linking ... done.
 [InstanceD [] (AppT (ConT Q.Numeric) (ConT GHC.Types.Int)) []]
 Prelude Q>
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4169#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to