Note [Linting function types]
All saturated applications of funTyCon are represented with the FunTy constructor. See Note [Function type constructors and FunTy] in GHC.Builtin.Types.Prim We check this invariant in lintType.
References 1
- Function type constructors and FunTy GHC.Builtin.Types.Prim
Referenced by 1
- GHC.Core.Lint call site