[GHC] #6145: DataCon do not have location info

GHC cvs-ghc at haskell.org
Wed Jun 6 15:34:19 CEST 2012


#6145: DataCon do not have location info
-------------------------------------+--------------------------------------
    Reporter:  JeanPhilippeMoresmau  |       Owner:                             
        Type:  bug                   |      Status:  new                        
    Priority:  normal                |   Milestone:                             
   Component:  GHC API               |     Version:  7.4.1                      
    Keywords:                        |          Os:  Unknown/Multiple           
Architecture:  Unknown/Multiple      |     Failure:  Incorrect result at runtime
  Difficulty:  Unknown               |    Testcase:                             
   Blockedby:                        |    Blocking:                             
     Related:                        |  
-------------------------------------+--------------------------------------

Comment(by JeanPhilippeMoresmau):

 http://hackage.haskell.org/package/ghc-paths, to have an easy way to find
 out where GHC is installed, surely inside the test suite you know where
 the library directory should be... This is just for the first argument to
 runGhc (as the docs say: The first argument should point to the directory
 where GHC's library files reside. More precisely, this should be the
 output of ghc --print-libdir of the version of GHC the module using this
 API is compiled with. For portability, you should use the ghc-paths
 package, available at http://hackage.haskell.org/cgi-bin/hackage-
 scripts/package/ghc-paths.) So maybe using Nothing instead of Just libdir
 works inside the test suite.

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



More information about the Glasgow-haskell-bugs mailing list