Opened 14 months ago

Last modified 11 months ago

#13438 new bug

ghci :browse does not work with DuplicateRecordFields

Reported by: rik Owned by:
Priority: normal Milestone:
Component: GHCi Version: 8.0.2
Keywords: duplicaterecordfields ghci orf Cc: adamgundry
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by rik)

Using :browse on module which has enabled DuplicateRecordFields and datatypes are exported, does not return the field accessor functions.

So for example:

data Login = Login
  { code     :: Text
  , password :: Text

browse for module does not return code and password accessor functions.

Change History (2)

comment:1 Changed 14 months ago by rik

Description: modified (diff)

comment:2 Changed 11 months ago by adamgundry

Cc: adamgundry added
Keywords: orf added
Note: See TracTickets for help on using tickets.