<div dir="ltr"><div>I am working through some ghc-exactprint test cases with GHC 9.2.1 and came across an oddity.</div><div><br></div><div>If I parse some source with <br></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">{-# LINE 93 "Foo.chs" #-}</span></div><div><br></div><div>on line five, it shows up in the ParseSource as</div><div><br></div><div><span style="font-family:monospace">(L<br>  (Anchor<br>   { LINE:5:1-25 }<br>   (UnchangedAnchor))<br>  (EpaComment<br>   (EpaLineComment<br>    "{-# LINE 93 \"Foo.chs\" #-}")<br>   { LINE:5:1-25 }))</span></div><div><br></div><div>and the following item locations are unchanged.<br></div><div><br></div><div>The effect seems to be to change the name of the file in the RealSrcSpan to "LINE", but just for that line, and no other effect.</div><div><br></div><div>Is this expected?</div><div><br></div><div>Alan<br></div><div><br></div><div><br></div></div>