[GHC] #10233: Reexporting GHC.Exts does not export Constraint
#10233: Reexporting GHC.Exts does not export Constraint -------------------------------------+------------------------------------- Reporter: int-e | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- I expected the following code {{{ module T (module GHC.Exts) where import GHC.Exts (Constraint) }}} to reexport `Constraint`, but in fact `T` exports nothing at all. Explicitely exporting `Constraint` from `T` works as expected. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10233> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10233: Reexporting GHC.Exts does not export Constraint -------------------------------------+------------------------------------- Reporter: int-e | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"74d2c33a1f4ebe3de090bc73d08910bbdd31f8f1/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="74d2c33a1f4ebe3de090bc73d08910bbdd31f8f1" GHC.Prim.Constraint is not built-in syntax This fixes Trac #10233 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10233#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10233: Reexporting GHC.Exts does not export Constraint -------------------------------------+------------------------------------- Reporter: int-e | Owner: Type: bug | Status: merge Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | module/T10233 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => merge * testcase: => module/T10233 Comment: Aha, quite right. Result of an oversight in `TysPrim`. This probably is worth merging to 7.10, although some error messages will start saying `GHC.Prim.Constraint` instead of `Constraint`. I've addressed that in 547c597112954353cef7157cb0a389bc4f6303eb, but I don't think the latter is worth merging. So just accept the error message changes. Simon -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10233#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10233: Reexporting GHC.Exts does not export Constraint -------------------------------------+------------------------------------- Reporter: int-e | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | module/T10233 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed * milestone: => 7.10.2 Comment: Merged to `ghc-7.10`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10233#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC