<div dir="ltr"><div>Hi *,</div><div><br></div><div>I'm hoping someone could help me understand what the asserts in CoreToStg on line 240 and 216 are trying to tell me.</div><div><br></div><div>I hit both of them while trying to compile libraries as dyn.</div><div><br></div><div>WARNING: file compiler\stgSyn\CoreToStg.hs, line 250<br>  $trModule2 False True<br>ghc-stage1.exe: panic! (the 'impossible' happened)<br>  (GHC version 8.1.20160612 for x86_64-unknown-mingw32):<br>        ASSERT failed!<br>  file compiler\stgSyn\CoreToStg.hs line 216 $trModule2</div><div><br></div><div>Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a></div><div><br></div><div>WARNING: file compiler\simplCore\SimplCore.hs, line 633<br>  Simplifier bailing out after 4 iterations [6737, 736, 51, 9]<br>    Size = {terms: 12,990, types: 9,998, coercions: 443}<br>WARNING: file compiler\stgSyn\CoreToStg.hs, line 250<br>  $fEqBigNat_$c/= False True<br>ghc-stage1.exe: panic! (the 'impossible' happened)<br>  (GHC version 8.1.20160612 for x86_64-unknown-mingw32):<br>        ASSERT failed!<br>  file compiler\stgSyn\CoreToStg.hs line 240<br>  [$fEqBigNat_$c/=, $fEqBigNat]</div><div><br></div><div>Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a></div><div><br></div><div>Kind Regards,</div><div>Tamar<br></div></div>