summaryrefslogtreecommitdiff
path: root/compiler/parser/Parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/parser/Parser.y')
-rw-r--r--compiler/parser/Parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index adfbf2c332..8789c9b333 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -3238,6 +3238,7 @@ tyconsym :: { Located RdrName }
op :: { Located RdrName } -- used in infix decls
: varop { $1 }
| conop { $1 }
+ | '->' { sL1 $1 $ getRdrName funTyCon }
varop :: { Located RdrName }
: varsym { $1 }