summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/GHC/Parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Parser.y b/compiler/GHC/Parser.y
index 50f63796ee..b71027699c 100644
--- a/compiler/GHC/Parser.y
+++ b/compiler/GHC/Parser.y
@@ -1981,7 +1981,7 @@ ftype :: { forall b. DisambTD b => PV (Located b) }
| tyop { failOpFewArgs $1 }
| ftype tyarg { $1 >>= \ $1 ->
mkHsAppTyPV $1 $2 }
- | ftype PREFIX_AT tyarg { $1 >>= \ $1 ->
+ | ftype PREFIX_AT atype { $1 >>= \ $1 ->
mkHsAppKindTyPV $1 (getLoc $2) $3 }
tyarg :: { LHsType GhcPs }