diff options
author | Ian Lynagh <igloo@earth.li> | 2007-08-17 22:17:33 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-08-17 22:17:33 +0000 |
commit | 3c8339e501570a147e2cb2acf6322461c9439364 (patch) | |
tree | 498adb64ffebc4c1fbcfe3705d80bee6ee9aa98b /compiler/parser | |
parent | 036e86560913bfb19b1287985f79a8f279666566 (diff) | |
download | haskell-3c8339e501570a147e2cb2acf6322461c9439364.tar.gz |
Make :i (->) work; fixes trac #1587
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/Parser.y.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index b624455d3f..1cee18be7c 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -345,6 +345,7 @@ identifier :: { Located RdrName } | qcon { $1 } | qvarop { $1 } | qconop { $1 } + | '(' '->' ')' { LL $ getRdrName funTyCon } ----------------------------------------------------------------------------- -- Module Header |