[GHC] #16381: Regression: Implicitly kind variables not in scope

#16381: Regression: Implicitly kind variables not in scope -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.10.1 Component: Compiler | Version: 8.9 (Type checker) | 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: -------------------------------------+------------------------------------- Our new `head.hackage` CI infrastructure has caught its first regression, it seems. A number of packages now fail to build due to out-of-scope kind variables. For instance, `singleton-bool`: {{{ [1 of 1] Compiling Data.Singletons.Bool ( src/Data/Singletons/Bool.hs, dist/build/Data/Singletons/Bool.o ) *** Parser [Data.Singletons.Bool]: Parser [Data.Singletons.Bool]: alloc=4264704 time=6.901 *** Renamer/typechecker [Data.Singletons.Bool]: Renamer/typechecker [Data.Singletons.Bool]: alloc=17554720 time=92.794 src/Data/Singletons/Bool.hs:119:29: error: Not in scope: type variable âkâ | 119 | sboolEqRefl :: forall (a :: k) (b :: k). SBoolI (a == b) => Maybe (a :~: b) | ^ src/Data/Singletons/Bool.hs:119:38: error: Not in scope: type variable âkâ | 119 | sboolEqRefl :: forall (a :: k) (b :: k). SBoolI (a == b) => Maybe (a :~: b) | ^ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16381 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16381: Regression: Implicitly kind variables not in scope -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: highest | Milestone: 8.10.1 Component: Compiler (Type | Version: 8.9 checker) | Resolution: invalid | Keywords: 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 bgamari): * status: new => closed * resolution: => invalid Comment: Ahh, of course. This is actually expected as fall-out from [[https://github.com/ghc-proposals/ghc- proposals/blob/master/proposals/0024-no-kind-vars.rst|Proposal 0024]] (#15264). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16381#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16381: Regression: Implicitly kind variables not in scope -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: highest | Milestone: 8.10.1 Component: Compiler (Type | Version: 8.9 checker) | Resolution: invalid | Keywords: 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 RyanGlScott): See also https://github.com/hvr/head.hackage/commit/8db44df47e6ca07ea2f8140dfa672d0f9..., which patches `singleton-bool` in the upstream `head.hackage` repo. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16381#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC