<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I figured out what was happening to the rules.  In case anyone finds this thread later: rules for local functions do not go in the ModGuts or CgGuts, but are instead put in the IdInfo in individual Id's.  A description of this is in the [Overall plumbing for rules] note in Rules:<div class=""><a href="http://hackage.haskell.org/package/ghc-8.6.1/docs/src/Rules.html" class="">http://hackage.haskell.org/package/ghc-8.6.1/docs/src/Rules.html</a><br class=""><div class=""><br class=""></div><div class="">-Bill</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 12, 2019, at 11:04 AM, Bill Hallahan <william.hallahan@yale.edu> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Roland. Unfortunately, this also doesn't seem to work- I tried unsetting Opt_IgnoreInterfacePragmas both with and without setting Opt_EnableRewriteRules, and no combination results in the rules being loaded.<div class=""><br class=""></div><div class="">Bill<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 12, 2019, at 4:25 AM, Roland Senn <<a href="mailto:rsx@bluewin.ch" class="">rsx@bluewin.ch</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Opt_IgnoreInterfacePragmas</span></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></body></html>