Nullness issue - Error shows on incorrect symbol when using |> #18013
Labels
Area-Nullness
Issues related to handling of Nullable Reference Types
Bug
Impact-Low
(Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone
Issue description
When using the |> operator on a partially applied function, the compiler will show a red squiggle on the RHS rather than the LHS.
Choose one or more from the following categories of impact
null
constructs in code not using the checknulls switch.null
,not null
).Operating System
Windows (Default)
What .NET runtime/SDK kind are you seeing the issue on
.NET SDK (.NET Core, .NET 5+)
.NET Runtime/SDK version
No response
Reproducible code snippet and actual behavior
Wrong (current behaviour):
Possible workarounds
Don't use
|>
The text was updated successfully, but these errors were encountered: