diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-08-28 13:09:26 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-08-28 17:36:34 +0200 |
commit | 75cf1ef06c1c7b47bd543d3acab003938b51ae5c (patch) | |
tree | 616975c67594bfb1c05bb68b568da1948f775ecd /compiler/parser/Parser.y | |
parent | 15c63d2ac1983a72de20ec83b7263bf12b79ae49 (diff) | |
download | haskell-wip/T10803.tar.gz |
First part of implementing TypeSignatureSectionswip/T10803
See #10803
Diffstat (limited to 'compiler/parser/Parser.y')
-rw-r--r-- | compiler/parser/Parser.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y index 1b4df16d28..e8716b0ec7 100644 --- a/compiler/parser/Parser.y +++ b/compiler/parser/Parser.y @@ -2327,6 +2327,7 @@ texp :: { LHsExpr RdrName } -- inside parens. | infixexp qop { sLL $1 $> $ SectionL $1 $2 } | qopm infixexp { sLL $1 $> $ SectionR $1 $2 } + | '::' sigtype { sLL $1 $> $ TySigSection $2 PlaceHolder } -- View patterns get parenthesized above | exp '->' texp {% ams (sLL $1 $> $ EViewPat $1 $3) [mj AnnRarrow $2] } |