[GHC] #16236: API Annotations: AnnAt disconnected for TYPEAPP

GHC ghc-devs at haskell.org
Fri Jan 25 13:25:41 UTC 2019


#16236: API Annotations: AnnAt disconnected for TYPEAPP
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.8.1
          Component:  Compiler       |           Version:  8.6.3
  (Parser)                           |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Incorrect API
  Unknown/Multiple                   |  annotation
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 For the code

 {{{#!hs
 type family F1 (a :: k) (f :: k -> Type) :: Type where
   F1 @Peano a f = T @Peano f a
 }}}

 the API annotation for the  first `@` is not attached to a `SourcSpan` in
 the `ParsedSource`

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


More information about the ghc-tickets mailing list