As of F#7 an incorrect warning is being displayed.
Repro steps
type T = T with
static member inline (?<-) (f, x, y) = f x y
Expected behavior
Compiles without warnings.
Actual behavior
Compiles with warning:
static member inline (?<-) (f, x, y) = f x y ;;
--------------------------^^^
stdin(12,27): warning FS1173: Infix operator member '?<-' has 3 initial argument(s). Expected a tuple of 2 arguments, e.g. static member (+) (x,y) = ...
Known workarounds
Ignore it.
Related information
Microsoft (R) F# Interactive version 12.0.5.0 for F# 7.0
Microsoft Visual Studio Community 2022 (64-bit) - Preview
Version 17.4.0 Preview 2.1
As of F#7 an incorrect warning is being displayed.
Repro steps
Expected behavior
Compiles without warnings.
Actual behavior
Compiles with warning:
Known workarounds
Ignore it.
Related information
Microsoft (R) F# Interactive version 12.0.5.0 for F# 7.0
Microsoft Visual Studio Community 2022 (64-bit) - Preview
Version 17.4.0 Preview 2.1