#4534: Core lint error when using TransformListComp
---------------------------------+------------------------------------------
Reporter: guest | Owner: simonpj
Type: bug | Status: merge
Priority: high | Milestone: 7.0.2
Component: Compiler | Version: 7.0.1
Keywords: | Testcase: rename/should_compile/T4534
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Changes (by simonpj):
* status: new => merge
* testcase: => rename/should_compile/T4534
Comment:
Fixed by
{{{
Fri Dec 10 08:45:30 GMT 2010 [email protected]
* Fix Trac #4534: renamer bug
The renamer wasn't attaching the right used-variables to a
TransformStmt constructor.
The real modification is in RnExpr; the rest is just
pretty-printing and white space.
M ./compiler/deSugar/DsListComp.lhs -9 +8
M ./compiler/hsSyn/HsExpr.lhs -7 +10
M ./compiler/rename/RnExpr.lhs -1 +3
}}}
Merge to stable. Test added.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4534#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs