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

GHC ghc-devs at haskell.org
Tue Jul 28 19:32:16 UTC 2015


#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


More information about the ghc-tickets mailing list