-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.help wanted
Milestone
Description
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
abelbraaksma
Metadata
Metadata
Assignees
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.help wanted
Type
Projects
Status
Done