Open ChrisPenner opened 1 month ago
This is a dupe of some issue that I can't locate. It's caused because the record accessors have inferred types, and higher-rank types are never inferred. (A record accessor can have pretty complicated type since it's allowed to change type parameters, so it's not simple to figure out what type we should ascribe to them)
I think more and more we should just do proper record types.
I attempted to define:
Which failed with:
Reconfiguring it as not-a-record works: