summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-12-13 22:47:01 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-12-15 10:06:55 +0000
commitfbb42b2ea42b6467135f26db47d9c296e7ad75a3 (patch)
tree1caff6c78d38545b8692176b707c049a34cd36e3 /compiler/codeGen
parent71105aea894d9c39c35248865907207e169f819d (diff)
downloadhaskell-fbb42b2ea42b6467135f26db47d9c296e7ad75a3.tar.gz
Pattern-synonym matcher and builder Ids must be *LocalIds*
This easy-to-make mistake meant that pattern-synonym matcher and builder Ids weren't being treated as locally defined by the simpplier. That meant that we never looked up them up in the environment, got an out-of-date unfolding, which made the Simplifier fall into an infinite loop. This was the cause of Trac #98587, but it was quite tricky to find! In a separate patch I'll make Lint check for locally-bound GlobalIds, since they are always an error.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions