Nullness - Consider supporting Nullable shorthand for TreatWarningsAsErrors
- Vorherrschende Sprache
- F#
- Sterne
- 4.3k
- Forks
- 876
- Ø Merge
- 5 T. 9 Std.
- Gemergte PRs (30 T.)
- 153
Beschreibung
**Is your feature request related to a problem? Please describe.**
In C# it's possible to convert all nullable-related warnings to errors using `nullable`. From [docs](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings#treatwarningsaserrors):
`
The set of all nullability warnings can be specified with the Nullable shorthand.
`
So in line with https://github.com/dotnet/fsharp/pull/17486 it would be nice to have WAE behaviour as well.
**Describe the solution you'd like**
Support `nullable`
**Describe alternatives you've considered**
Just use specific warning numbers or even `true`.
**Additional context**
.
Beitragsleitfaden
Rechercherichtung
Es ist keine Datei und kein Test-Einstiegspunkt angegeben. Beginne damit, im F#-Compiler die Verarbeitung von TreatWarningsAsErrors und das Parsen von Warngruppen zu finden, und untersuche anschließend verwandte Tests; fertig ist es, wenn nullable alle nullable-bezogenen Warnungen zu Fehlern hochstuft.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, fsharp
- Bereich
- compilers
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100