[Diffusion] [Build Failed] rGHCa8493e03b89f: Fix imports in HscMain (stage2)

Simon Peyton Jones simonpj at microsoft.com
Wed May 13 11:52:27 UTC 2015


Things are better now, I think.

But Haddock still crashes when generating documentation for GHC.Prim.  It looks at an auto-generate file, GHC.Prim.hs, and from that we get typechecker errors like

libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs:2632:1: error:
    Top-level bindings for unlifted types aren't allowed:
      nullAddr# = let x = x in x

What I don't understand is
  - why did this not happen before?
  - why is Haddock type-checking the module anyway?

Can anyone help?

Simon

|  -----Original Message-----
|  From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of
|  Simon Peyton Jones
|  Sent: 13 May 2015 12:10
|  To: ghc-devs at haskell.org
|  Subject: RE: [Diffusion] [Build Failed] rGHCa8493e03b89f: Fix imports
|  in HscMain (stage2)
|  
|  I'm very sorry but the build breaks if you build Haddock docs for ghc-
|  prim.  The failure is a call to tyConStupidTheta, but I have no idea
|  why it is called or why it has changed.  I'll chase, but may need
|  help.
|  
|  S
|  
|  |  -----Original Message-----
|  |  From: noreply at phabricator.haskell.org
|  | [mailto:noreply at phabricator.haskell.org]
|  |  Sent: 13 May 2015 10:40
|  |  To: Simon Peyton Jones
|  |  Subject: [Diffusion] [Build Failed] rGHCa8493e03b89f: Fix imports
|  in
|  | HscMain (stage2)
|  |
|  |  Harbormaster failed to build B4022: rGHCa8493e03b89f: Fix imports
|  in
|  | HscMain (stage2)!
|  |
|  |  USERS
|  |    simonpj (Author)
|  |    GHC - Driver (Auditor)
|  |
|  |  COMMIT
|  |    https://phabricator.haskell.org/rGHCa8493e03b89f
|  |
|  |  EMAIL PREFERENCES
|  |    https://phabricator.haskell.org/settings/panel/emailpreferences/
|  |
|  |  To: simonpj, GHC - Driver
|  _______________________________________________
|  ghc-devs mailing list
|  ghc-devs at haskell.org
|  http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list