
#14198: Inconsistent treatment of implicitly bound kind variables as free-floating -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.2.1 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7873 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): Replying to [comment:4 goldfire]:
I ''think'' we'll know that the `k` is not user-written, because it will be `Inferred`, not `Specified`.
So you wish to perform free-floating checks on `TyConBinder`s instead of `TyVar`s? That might work... but wait. How would this work for data family instances? IIUC, they don't have anything like `TyConBinders`, so I'm not sure how we'd perform this check there. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14198#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler