Uh oh!
There was an error while loading. Please reload this page.
Attribute targets on records - #17207
Conversation
❗ Release notes required
|
edgarfgp
commented
Jun 11, 2024
Ready for review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
psfinaki
commented
Jun 14, 2024
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
T-Gro
left a comment
There was a problem hiding this comment.
Can you explain the RequireQualifiedAccess reasoning here, maybe even in the comment as part of code?
Is it only a temporary need caused by new compiler + old FSharp.Core combination, eventually to be removed?
Caution Repository is on lockdown for maintenance, all merges are on hold. |
@T-Gro So the check for Thanks for the review |
Yes. I have 2 more PRs and then a RFC |
Follow up: #17173
Records compiles down to a
classorstructsharplab.This PR enforces the new rules on
records.Old rules
New Rules
[<Struct>]Before sharplab
After
Checklist