[GHC] #15282: Document how equality-bearing constructors are promoted in Core
#15282: Document how equality-bearing constructors are promoted in Core -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Keywords: TypeInType | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: #14845 Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- In Phab:D4728, Simon was utterly baffled as to how one could promote the `MkT` constructor in: {{{#!hs data T a where MkT :: (a ~ Int) => T a }}} Richard knows the inner machinations of how this works (including what coercions are used in the Core that `'MkT` desugars to), but not many others do. Simon requested that Richard document this knowledge in a Note somewhere. This ticket exists to keep track of this request. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15282> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15282: Document how equality-bearing constructors are promoted in Core -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14845 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * owner: (none) => goldfire -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15282#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15282: Document how equality-bearing constructors are promoted in Core -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14845 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Richard Eisenberg <rae@…>): In [changeset:"26e9806ada8823160dd63ca2c34556e5848b2f45/ghc" 26e9806/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="26e9806ada8823160dd63ca2c34556e5848b2f45" Document and simplify tcInstTyBinders This fixes #15282. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15282#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15282: Document how equality-bearing constructors are promoted in Core -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: goldfire Type: bug | Status: merge Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14845 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => merge Comment: All set now. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15282#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15282: Document how equality-bearing constructors are promoted in Core -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: goldfire Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: fixed | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14845 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: merge => closed * resolution: => fixed * milestone: 8.8.1 => 8.6.1 Comment: This is in GHC 8.6. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15282#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC