I recently fixed dotnet/fsharp#13851
type X = X
let x: X = X
let myVal =
match x with
| X _ -> ()
let myFunc(X x) = 5+5
let myDiscardedArgFunc(X _)
This will not longer be valid and a new warning error will be reported : Pattern discard is not allowed for union case that takes no data.
Will Rider be affected by this change ?
Update : Im Rider user and I would love to contribute with some guidance to how to add a quick fix :)