Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • sheaf's avatar
    28334b47
    Default kind vars in tyfams with -XNoPolyKinds · 28334b47
    sheaf authored
      We should still default kind variables in type families
      in the presence of -XNoPolyKinds, to avoid suggesting enabling
      -XPolyKinds just because the function arrow introduced kind variables,
      e.g.
    
        type family F (t :: Type) :: Type where
          F (a -> b) = b
    
      With -XNoPolyKinds, we should still default `r :: RuntimeRep`
      in `a :: TYPE r`.
    
      Fixes #20584
    28334b47
    History
    Default kind vars in tyfams with -XNoPolyKinds
    sheaf authored
      We should still default kind variables in type families
      in the presence of -XNoPolyKinds, to avoid suggesting enabling
      -XPolyKinds just because the function arrow introduced kind variables,
      e.g.
    
        type family F (t :: Type) :: Type where
          F (a -> b) = b
    
      With -XNoPolyKinds, we should still default `r :: RuntimeRep`
      in `a :: TYPE r`.
    
      Fixes #20584
Code owners
Assign users and groups as approvers for specific file changes. Learn more.