#1287: SPECIALIZE causes panic
-------------------------------+--------------------------------------------
 Reporter:  [EMAIL PROTECTED]   |          Owner:  igloo  
     Type:  bug                |         Status:  new    
 Priority:  normal             |      Milestone:         
Component:  Compiler           |        Version:  6.6    
 Severity:  normal             |     Resolution:         
 Keywords:  panic, SPECIALIZE  |     Difficulty:  Unknown
 Testcase:                     |   Architecture:  Unknown
       Os:  Unknown            |  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * owner:  => igloo

Comment:

 Ah, good point, thank you.  I've committed a fix.

 It's too late for 6.6, but there's an easy workaround: just omit the Num b
 contraint in the specialisation for delta'.  It's entirely useless,
 because the original function is polymorphic in b.  (The fix turns this
 into a decent error message, and ignores the pragma.)


 IAN: can you add a test case to regression suite, pls?

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