-
Notifications
You must be signed in to change notification settings - Fork 831
New issue template for bugs related to Nullable Reference Types #17357
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
Merged
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| --- | ||
| name: Nullness-related report | ||
| about: Create a report related to nullable reference types handling | ||
| title: '' | ||
| labels: [Bug, Needs-Triage,Area-Nullness] | ||
| assignees: 'T-Gro' | ||
|
|
||
| --- | ||
|
|
||
|
|
||
| Please check at [Nullable Reference Types RFC](https://github.com/fsharp/fslang-design/blob/main/RFCs/FS-1060-nullable-reference-types.md) if this issue isn't a known limitation, such as missing flow-control analysis after branching constructs like `if` or `while`. | ||
| Please provide a succinct description of the issue and choose 1 or more from the following categories of impact | ||
|
|
||
| - [ ] Unexpected nullness warning (false positive in nullness checking, code uses --checknulls and langversion:preview) | ||
| - [ ] Missing nullness warning in a case which can produce nulls (false negative, code uses --checknulls and langversion:preview) | ||
| - [ ] Breaking change related to older `null` constructs in code not using the checknulls switch | ||
| - [ ] Breaking change related to generic code and explicit type constraints (`null`, `not null`) | ||
| - [ ] Type inference issue (i.e. code worked without type annotations before, and applying the --checknulls enforces type annotatins) | ||
| - [ ] C#/F# interop issue related to nullness metadata | ||
| - [ ] None of the categories above apply | ||
|
|
||
| **Reproducible code snippet** | ||
|
|
||
| Provide a small code snippet demonstrating the issue. | ||
| If referenced code is needed for the repro and cannot be shared (e.g. a private C# nuget package), try to share at least the metadata annotations from the called type+member as seen in `ilspy.exe`. C# compiler produces attributes like `[Nullable]` and `[NullableContext]`, which is what F# compiler tries to load and interpret in C#/F# interop scenarios. | ||
|
|
||
|
|
||
| **Expected behavior** | ||
| (if not clear from category selection above) | ||
|
|
||
| **Actual behavior** | ||
| (if not clear from category selection above) | ||
|
|
||
| **Known workarounds** | ||
|
|
||
| Are there any language constructs (typically pattern matching, library constructs, Null/NonNull active patterns, explicit type annotations) allowing the same logic be expressed differently in order to mitigate the experienced nullness issue? | ||
|
|
||
| **Related information** | ||
|
|
||
| Provide any related information (optional): | ||
|
|
||
| * Operating system | ||
| * .NET Runtime kind (.NET Core, .NET Framework, Mono) | ||
| * Editing Tools (e.g. Visual Studio Version, Visual Studio) | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.