<p dir="ltr"><br>
On Jun 24, 2014 1:36 PM, "Ian Lynagh" <<a href="mailto:igloo@earth.li">igloo@earth.li</a>> wrote:<br>
><br>
> On Mon, Jun 23, 2014 at 12:58:16PM -0500, Christopher Rodrigues wrote:<br>
> ><br>
> > Additionally, is it ever valid to have a pair of .hi and .dyn_hi files with<br>
> > different interface hashes?<br>
><br>
> You can, for example, compile package foo the vanilla way with -O, and<br>
> the dynamic way without -O. You'll then get mismatched hashes.</p>
<p dir="ltr">Also, any file that uses Template Haskell could potentially generate different code at each compilation.  But IMHO this isn't something ghc should try to support.</p>
<p dir="ltr">John L.<br>
</p>