[GHC] #11811: GHC sometimes misses a CUSK

#11811: GHC sometimes misses a CUSK -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 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: -------------------------------------+------------------------------------- {{{ {-# LANGUAGE TypeInType #-} data Test (a :: x) (b :: x) :: x -> * where K :: Test Int Bool Double }}} fails, because GHC thinks that `Test` does not have a CUSK. It should have a CUSK, because while there is no `forall x` in the result kind, the `x` is in scope from previous use in kinds. Fix en route. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11811 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11811: GHC sometimes misses a CUSK -------------------------------------+------------------------------------- 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: | -------------------------------------+------------------------------------- Changes (by goldfire): * keywords: => TypeInType -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11811#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11811: GHC sometimes misses a CUSK
-------------------------------------+-------------------------------------
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

#11811: GHC sometimes misses a CUSK -------------------------------------+------------------------------------- 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: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => merge * milestone: => 8.0.1 Comment: I think this is worth merging, as it seems to be needed to compile `singletons`. If there's a merge problem, I can probably work around it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11811#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11811: GHC sometimes misses a CUSK -------------------------------------+------------------------------------- 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: | typecheck/should_compile/T11811 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * testcase: => typecheck/should_compile/T11811 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11811#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11811: GHC sometimes misses a CUSK -------------------------------------+------------------------------------- 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: | typecheck/should_compile/T11811 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged as b1d92b5d6444ac7920c568086c5dc66e571c3438. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11811#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC