Opened 4 months ago

Last modified 6 weeks 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 4 months ago by rik

Description: modified (diff)

comment:2 Changed 6 weeks ago by adamgundry

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