id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
1060,GHC accepts program with incorrect layout,igloo,,"GHC accepts this program:

{{{
f x = case x of
     False -> do
    { return x; }
}}}

but according to the Haskell report the implicit { opened by the `of` should be closed before the explicit {.

The bug does on to say, in a comment:

{{{
Update: arguably this should be allowed.  The fix to the Haskell
layout rule to allow it is simple: in Section 9.3 in the rules that
govern the introduction of the <n> and {n} psuedo-tokens, we need
to prevent <n> being inserted before {.  This could be a simple
side-condition on the rule that introduces <n>.
}}}

I can't see a Haskell' ticket for this at first glance.",bug,closed,normal,_|_,Compiler (Parser),6.6,fixed,,,Unknown/Multiple,Unknown/Multiple,None/Unknown,Unknown,readFail027,,,
