#16212: API Annotations: Parens not attached correctly for ClassDecl -------------------------------------+------------------------------------- Reporter: alanz | Owner: alanz Type: bug | Status: closed Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.6.3 (Parser) | Resolution: fixed | 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: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"4bf35da4fccd2a21153a1c19bfa80006e99e02a1/ghc" 4bf35da4/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="4bf35da4fccd2a21153a1c19bfa80006e99e02a1" API Annotations: Parens not attached correctly for ClassDecl The parens around the kinded tyvars should be attached to the class declaration as a whole, they are attached to the tyvar instead, outside the span. An annotation must always be within or after the span it is contained in. Closes #16212 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16212#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler