[GHC] #11092: ApiAnnotations : make annotation for shebang

GHC ghc-devs at haskell.org
Sun Nov 15 08:34:09 UTC 2015


#11092: ApiAnnotations : make annotation for shebang
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  alanz
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
  ApiAnnotations                     |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently a valid haskell file can have a first line of the form

 {{{#!lhs
 #!/usr/bin/env runhaskell
 }}}

 This does not end up as anything that can have an API Annotation, and so
 gets lost on round tripping.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11092>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list