[GHC] #9738: Handle ANN pragmas in declaration splices
#9738: Handle ANN pragmas in declaration splices -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Template Haskell | Version: 7.8.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Unknown | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- If I say {{{ $( do decs <- [d| data T = MkT {-# ANN type T "hi!" #-} |] runIO $ putStrLn $ pprint decs return decs ) }}} I get {{{ data T_0 = MkT_1 }}} No `ANN`. :( -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9738> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9738: Handle ANN pragmas in declaration splices -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Template | Version: 7.8.3 Haskell | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D389 | -------------------------------------+------------------------------------- Changes (by goldfire): * differential: => Phab:D389 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9738#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9738: Handle ANN pragmas in declaration splices -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Template | Version: 7.8.3 Haskell | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D389 | -------------------------------------+------------------------------------- Comment (by Richard Eisenberg <eir@…>): In [changeset:"209baea8bc1f99b371b9ba49f5b81caa45bb34bf/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="209baea8bc1f99b371b9ba49f5b81caa45bb34bf" Fix #9738, by handling {-# ANN ... #-} in DsMeta. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9738#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9738: Handle ANN pragmas in declaration splices -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Template | Version: 7.8.3 Haskell | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D389 | -------------------------------------+------------------------------------- Comment (by Richard Eisenberg <eir@…>): In [changeset:"752b5e216963c0e8c06aa382b695ce2215869632/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="752b5e216963c0e8c06aa382b695ce2215869632" Test #9738 in th/T9738 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9738#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9738: Handle ANN pragmas in declaration splices -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Template | Version: 7.8.3 Haskell | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: th/T9738 | Blocking: | Differential Revisions: Phab:D389 | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => closed * testcase: => th/T9738 * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9738#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC