Opened 4 years ago

Last modified 4 years ago

#10702 new bug

-fth-dec-file uses qualified names in binding positions

Reported by: Fabian Owned by:
Priority: normal Milestone:
Component: Template Haskell Version: 7.10.1
Keywords: Cc: GregWeber
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: #10701 Differential Rev(s):
Wiki Page:

Description

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

Attachments (2)

Test10702.2.hs (867 bytes) - added by Fabian 4 years ago.
Test10702.hs (867 bytes) - added by Fabian 4 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by goldfire

Component: CompilerTemplate Haskell

comment:2 Changed 4 years ago by goldfire

Milestone: 7.12.1

comment:3 Changed 4 years ago by thomie

Cc: GregWeber added

Changed 4 years ago by Fabian

Attachment: Test10702.2.hs added

Changed 4 years ago by Fabian

Attachment: Test10702.hs added

comment:4 Changed 4 years ago 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.

comment:5 Changed 4 years ago by thoughtpolice

Milestone: 7.12.18.0.1

Milestone renamed

comment:6 Changed 4 years ago by thomie

Milestone: 8.0.1
Note: See TracTickets for help on using tickets.