-
Notifications
You must be signed in to change notification settings - Fork 846
Hide Obsolete warnings on record initializer not using the obsolete field #14195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide Obsolete warnings on record initializer not using the obsolete field #14195
Conversation
|
Should this also behind a preview flag ? |
|
I'm OK with considering this a bug fix, |
…-not-using-the-obsolete-field # Conflicts: # tests/FSharp.Compiler.ComponentTests/Language/ObsoleteAttributeCheckingTests.fs
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
|
@vzarytovskii I'm a little stuck here. Would appreciate some pointers or if you are willing to take this over will be also fine by me. I do not want to hold this from being fixed. |
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field
| | SynTupleTypeSegment.Slash _ :: SynTupleTypeSegment.Type ty :: args -> | ||
| let ms1, tpenv = TcMeasure cenv newOk checkConstraints occ env tpenv ty m | ||
| gather args tpenv (Measure.Prod(acc, Measure.Inv ms1)) | ||
| | _ -> failwith "inpossible" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aw, I liked the "inpossible" more!
…the-obsolete-field' of https://github.com/edgarfgp/fsharp into pr/14195
…-not-using-the-obsolete-field
…-not-using-the-obsolete-field

Attempt to Fix #14203