#1193: panic! addImpDecls in TH_dataD1 test
------------------------------+---------------------------------------------
 Reporter:  igloo             |          Owner:         
     Type:  bug               |         Status:  new    
 Priority:  normal            |      Milestone:  6.6.2  
Component:  Template Haskell  |        Version:  6.6    
 Severity:  normal            |     Resolution:         
 Keywords:                    |     Difficulty:  Unknown
 Testcase:  TH_dataD1         |   Architecture:  Unknown
       Os:  Unknown           |  
------------------------------+---------------------------------------------
Changes (by igloo):

  * testcase:  => TH_dataD1

Old description:

> addImpDecls seems to be being passed an empty group, and the list of
> decls
> {{{
> [$(dataD [] (mkName "D") [] [normalC "K" []] [])]
> }}}
> while it expects
> {{{
> -- The decls are imported, and should not have a splice
> }}}

New description:

 When running the test TH_dataD1, addImpDecls seems to be being passed an
 empty group, and the list of decls
 {{{
 [$(dataD [] (mkName "D") [] [normalC "K" []] [])]
 }}}
 while it expects
 {{{
 -- The decls are imported, and should not have a splice
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1193>
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