[GHC] #10702: -fth-dec-file uses qualified names in binding positions

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Other Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: #10701 Differential Revisions: | -------------------------------------+------------------------------------- {{{#!hs instance Data.Aeson.ToJSON InputDropboxFiles where Data.Aeson.toJSON x@(InputDropboxFiles {}) = Data.Aeson.object (Data.Maybe.catMaybes [Just ((Data.Aeson..=) "root" (inputDropboxFilesRoot x)), Just ((Data.Aeson..=) "path" (inputDropboxFilesPath x)), fmap ((Data.Aeson..=) "rev") (inputDropboxFilesRev x), Just ((Data.Aeson..=) "access_token" (inputDropboxFilesAccess_token x))]) }}} Data.Aeson.toJSON should be toJSON at line 2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by Fabian): * Attachment "Test10702.hs" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by goldfire): * component: Compiler => Template Haskell -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by goldfire): * milestone: => 7.12.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * cc: GregWeber (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by Fabian): * Attachment "Test10702.2.hs" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by Fabian): * Attachment "Test10702.hs" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10702: -fth-dec-file uses qualified names in binding positions -------------------------------------+------------------------------------- Reporter: Fabian | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Fabian): I updated the test case to remove the dependency on aeson. Interestingly enough, ddump-splices output (included in the attachment) doesn't have this bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10702#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC