[GHC] #1255: UNPACKing a !Foo with newtype Foo = (Ptr Foo) causes the impossible

GHC trac at galois.com
Sat Mar 31 00:38:55 EDT 2007


#1255: UNPACKing a !Foo with newtype Foo = (Ptr Foo) causes the impossible
--------------------------------------+-------------------------------------
 Reporter:  rashakil                  |          Owner:         
     Type:  bug                       |         Status:  new    
 Priority:  normal                    |      Milestone:         
Component:  Compiler                  |        Version:  6.6    
 Severity:  normal                    |     Resolution:         
 Keywords:  UNPACK unbox newtype Ptr  |     Difficulty:  Unknown
 Testcase:                            |   Architecture:  x86    
       Os:  Linux                     |  
--------------------------------------+-------------------------------------
Comment (by stefanor at cox.net <Stefan O'Rear>):

 Datapoint: This works correctly (well, -dcore-lint clean) on HEAD with the
 new newtype system.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1255>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list