Ticket #31 (closed bug report: fixed)
LINE pragmas cause trouble
| Reported by: | nibro | Owned by: | nibro |
|---|---|---|---|
| Priority: | major | Milestone: | Full code support |
| Component: | parser | Version: | |
| Keywords: | Cc: |
Description
We cannot handle LINE pragmas since they can appear anywhere at all. This was reported by NeilMitchell?:
module Foo where
{-# LINE 10 "Bar" #-}
import Baz
The only possible solution here is to treat LINE pragmas as comments, along with any other unknown pragmas.
Change History
Note: See
TracTickets for help on using
tickets.
