[project @ 2001-10-17 13:12:56 by simonmar]
authorsimonmar <unknown>
Wed, 17 Oct 2001 13:12:56 +0000 (13:12 +0000)
committersimonmar <unknown>
Wed, 17 Oct 2001 13:12:56 +0000 (13:12 +0000)
commit93436263afc077d487937c45a12f38ad841dc9f0
tree229519887be693ce31ddbe49b2b68fbee28cda89
parent670e5f97ce7367ce47ac13164eca98cd2d1e853a
[project @ 2001-10-17 13:12:56 by simonmar]
Use the smart constructor mkNote instead of the dumb constructor
(Note) when rebuilding the expression after eta expansion.  This is
necessary to avoid invalidating some assumptions we make about the
output of etaExpand in CorePrep, in particular that there aren't any
lambda expressions inside an SCC note.
ghc/compiler/coreSyn/CoreUtils.lhs