Fix #12472 by looking for noinline/lazy inside oversaturated applications.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Sat, 6 Aug 2016 20:47:05 +0000 (13:47 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Sun, 21 Aug 2016 07:53:21 +0000 (00:53 -0700)
commit0d3bf62092de83375025edca6f7242812338542d
tree53c43f19cfbd1ce632961849fbfbe4ad323a2d5e
parente528061e2779ce475927f44d817eaf15a02cbac7
Fix #12472 by looking for noinline/lazy inside oversaturated applications.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: simonpj, austin, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2444

GHC Trac Issues: #12472
compiler/coreSyn/CorePrep.hs
testsuite/tests/simplCore/should_compile/noinline01.stderr