@@ -1358,7 +1358,11 @@ stealKindForType _ t = t
13581358
13591359-- | Extracts the kind from a type variable binder.
13601360tvbKind :: TyVarBndr -> Kind
1361−tvbKind (PlainTV _ ) = starK
1361+#if MIN_VERSION_template_haskell(2,8,0)
1362+tvbKind (PlainTV _ ) = StarT
1363+#else
1364+tvbKind (PlainTV _ ) = StarK
1365+#endif
13621366tvbKind (KindedTV _ k) = k
13631367
13641368tvbToType :: TyVarBndr -> Type