X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FParser.y.pp;h=0604d22b2491679433624cc4fb2d10165a595a09;hp=bd93101b921934351dc88f7b4326a042529ab90d;hb=c5b178be60a5a44abd2f4ddf8c399857678326e2;hpb=9241ac84d10f7e6b23841da2c0765275072ad7c1 diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index bd93101..0604d22 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -1032,7 +1032,7 @@ atype :: { LHsType RdrName } | '(' ctype ',' comma_types1 ')' { LL $ HsTupleTy Boxed ($2:$4) } | '(#' comma_types1 '#)' { LL $ HsTupleTy Unboxed $2 } | '[' ctype ']' { LL $ HsListTy $2 } - | '<[' ctype ']>' '@' tyvar { LL $ HsModalBoxType (unLoc $5) $2 } + | '<{' ctype '}>' '@' tyvar { LL $ HsModalBoxType (unLoc $5) $2 } | '[:' ctype ':]' { LL $ HsPArrTy $2 } | '(' ctype ')' { LL $ HsParTy $2 } | '(' ctype '::' kind ')' { LL $ HsKindSig $2 (unLoc $4) }