Commit 911ab82c authored by Simon Marlow's avatar Simon Marlow

FIX #1555: Remove "exp -> pat" production in stmts

It looks like this was an experiment that accidentally got committed,
somewhere between 6.0 and 6.2.
parent 75dc1d81
......@@ -1534,9 +1534,6 @@ maybe_stmt :: { Maybe (LStmt RdrName) }
stmt :: { LStmt RdrName }
: qual { $1 }
-- What is this next production doing? I have no clue! SLPJ Dec06
| infixexp '->' exp {% checkPattern $3 >>= \p ->
return (LL $ mkBindStmt p $1) }
| 'rec' stmtlist { LL $ mkRecStmt (unLoc $2) }
qual :: { LStmt RdrName }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment