<div dir="ltr">The test suite below[1] does what it's supposed to. The last line of it is a commented-out test case:<div><br></div><div><font face="monospace, monospace"> -- assertBool "broken" $ True</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">If I uncomment that, it fails to compile:</font></div><div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> > :reload</font></div><div><font face="monospace, monospace"> [13 of 13] Compiling TParse ( test/TParse.hs, interpreted )</font></div><div><font face="monospace, monospace"> </font></div><div><font face="monospace, monospace"> test/TParse.hs:67:3: error: parse error on input ‘assertBool’</font></div><div><font face="monospace, monospace"> |</font></div><div><font face="monospace, monospace"> 67 | assertBool "broken" $ True</font></div><div><font face="monospace, monospace"> | ^^^^^^^^^^</font></div><div><font face="monospace, monospace"> Failed, 12 modules loaded.</font></div><div><font face="monospace, monospace"> > </font></div><div><br></div><div>However, if I move it to somewhere earlier in the code, it works.</div><div><br></div><div><br></div><div>[1] <a href="https://github.com/JeffreyBenjaminBrown/digraphs-with-text/blob/e5afd39b950752ccb65997b89ab625d859299b4a/test/TParse.hs">https://github.com/JeffreyBenjaminBrown/digraphs-with-text/blob/e5afd39b950752ccb65997b89ab625d859299b4a/test/TParse.hs</a><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Jeff Brown | Jeffrey Benjamin Brown</div><div dir="ltr"><a href="https://msu.edu/~brown202/" style="font-size:12.8px" target="_blank">Website</a> | <a href="https://www.facebook.com/mejeff.younotjeff" style="font-size:12.8px" target="_blank">Facebook</a> | <a href="https://www.linkedin.com/in/jeffreybenjaminbrown" style="font-size:12.8px" target="_blank">LinkedIn</a><span style="font-size:12.8px">(spammy, so I often miss messages here) </span><span style="font-size:12.8px">|</span><span style="font-size:12.8px"> </span><a href="https://github.com/jeffreybenjaminbrown" style="font-size:12.8px" target="_blank">Github</a><span style="font-size:12.8px"> </span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div>