[GHC] #11404: The type variable used in a kind is still used
#11404: The type variable used in a kind is still used -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Keywords: TypeInType | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- From Phab:D1739. When you say {{{ undefined :: forall (v :: Levity) (a :: TYPE v). (?callStack :: CallStack) => a }}} you get a warning that `v` is unused. I will fix. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11404> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11404: The type variable used in a kind is still used -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 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: | -------------------------------------+------------------------------------- Comment (by Richard Eisenberg <eir@…>): In [changeset:"072191fe2db55eb3ede5d5a90b7f5eb6afde25bc/ghc" 072191fe/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="072191fe2db55eb3ede5d5a90b7f5eb6afde25bc" Fix #11404 We now check for unused variables one at a time, instead of all at the top. Test: dependent/should_compile/T11405 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11404#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11404: The type variable used in a kind is still used -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: merge Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | dependent/should_compile/T11405 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * testcase: => dependent/should_compile/T11405 * status: new => merge * milestone: => 8.0.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11404#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11404: The type variable used in a kind is still used -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.1 Resolution: fixed | Keywords: TypeInType Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | dependent/should_compile/T11405 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Cherry-picked to `ghc-8.0` as a5bb4809614b6f898384c02c6e00d92fd0f5d7c4. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11404#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC