Skip to content
Snippets Groups Projects
Commit 2c3ba312 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 1999-07-26 16:01:51 by simonpj]

Add read009, do-notation
parent 938f825c
No related merge requests found
module ShouldFail where
-- !!! Do-notation requires an *expression* at the end.
foo = do let foo = True
return ()
-- Note the let binding at the end!
-- This gave a pattern-match failure in tcStmts in ghc-4.04proto
h x = x
This current error message is rather unhelpful:
read009.hs:12: parse error on input `'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment