[GHC] #11592: Self-kinded type varialbe accepted

#11592: Self-kinded type varialbe accepted -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Found when chasing #11407 {{{ data T (a::a) = Blah -- Accepted data S (b :: a) a = ... -- Rejected with: variable ‘a’ used as a kind variable before being bound -- as a type variable. Perhaps reorder your variables? }}} But `T` should be rejected too, for the same reason as `S` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11592 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11592: Self-kinded type variable accepted -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * keywords: => TypeInType -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11592#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11592: Self-kinded type variable accepted -------------------------------------+------------------------------------- Reporter: simonpj | Owner: johnleo Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * owner: => johnleo -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11592#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11592: Self-kinded type variable accepted -------------------------------------+------------------------------------- Reporter: simonpj | Owner: johnleo Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D2914 Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * differential: => D2914 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11592#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11592: Self-kinded type variable accepted -------------------------------------+------------------------------------- Reporter: simonpj | Owner: johnleo Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2914 Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * differential: D2914 => Phab:D2914 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11592#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11592: Self-kinded type variable accepted
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: johnleo
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2914
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11592: Self-kinded type variable accepted -------------------------------------+------------------------------------- Reporter: simonpj | Owner: johnleo Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.10.3 Resolution: fixed | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2914 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 Comment: Thanks John! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11592#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC