#3066: Crash with bogus FFI declaration
--------------------------------------+-------------------------------------
    Reporter:  simonpj                |        Owner:  simonpj         
        Type:  bug                    |       Status:  new             
    Priority:  high                   |    Milestone:                  
   Component:  Compiler               |      Version:  6.10.1          
    Severity:  normal                 |   Resolution:                  
    Keywords:                         |   Difficulty:  Unknown         
    Testcase:  ffi/should_fail/T3066  |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple       |  
--------------------------------------+-------------------------------------
Changes (by igloo):

  * owner:  igloo => simonpj
  * type:  merge => bug

Comment:

 These patches make haddock apparently go into an infinite loop (when
 haddocking the unix package). I'm not sure if this is a bug in haddock or
 GHC. Do you know what's going on?

 With this `Q.hs`:
 {{{
 module Q () where

 newtype Foo = Foo Foo
 }}}

 {{{
 $ /home/ian/ghc/6.10-branch/ghc/utils/haddock/install-inplace/bin/haddock
 --html -B/home/ian/ghc/6.10-branch/ghc/inplace-datadir Q --optghc=-v
 Using package config file: /home/ian/ghc/6.10-branch/ghc/inplace-datadir
 /../inplace-datadir/package.conf
 hiding package base-3.0.3.0 to avoid conflict with later version
 base-4.0.0.0
 wired-in package ghc-prim mapped to ghc-prim-0.1.0.0
 wired-in package integer mapped to integer-0.1.0.0
 wired-in package base mapped to base-4.0.0.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1.0
 wired-in package syb mapped to syb-0.1.0.0
 wired-in package template-haskell mapped to template-haskell-2.3.0.0
 wired-in package dph-seq[""] not found.
 wired-in package dph-par[""] not found.
 *** Chasing dependencies:
 Chasing modules from: *Q.hs
 *** Parser:
 *** Renamer/typechecker:
 *** Tidy [hoot] type env:
 compile: input file Q.hs
 *** Tidy [hoot] type env:
 }}}

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