Skip to content

Commit eb5c20b

Browse files
Update signature of BasicPatterns.TraitCall
1 parent d0057e9 commit eb5c20b

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/fsharp/vs/Exprs.fs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,5 @@ module BasicPatterns =
10031003
let (|DecisionTree|_|) (e:FSharpExpr) = match e.E with E.DecisionTree (a,b) -> Some (a,b) | _ -> None
10041004
let (|DecisionTreeSuccess|_|) (e:FSharpExpr) = match e.E with E.DecisionTreeSuccess (a,b) -> Some (a,b) | _ -> None
10051005
let (|UnionCaseSet|_|) (e:FSharpExpr) = match e.E with E.UnionCaseSet (a,b,c,d,e) -> Some (a,b,c,d,e) | _ -> None
1006-
let (|TraitCall|_|) (e:FSharpExpr) = match e.E with E.TraitCall (a,b,_,c,d,e) -> Some (a,b,c,d,e) | _ -> None
1007-
1008-
module DerivedPatterns =
1009-
let (|TraitCallExtended|_|) (e:FSharpExpr) = match e.E with E.TraitCall (a,b,c,d,e,f) -> Some (a,b,c,d,e,f) | _ -> None
1010-
1006+
let (|TraitCall|_|) (e:FSharpExpr) = match e.E with E.TraitCall (a,b,c,d,e,f) -> Some (a,b,c,d,e,f) | _ -> None
10111007

src/fsharp/vs/Exprs.fsi

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,5 @@ module BasicPatterns =
204204
val (|ObjectExpr|_|) : FSharpExpr -> (FSharpType * FSharpExpr * FSharpObjectExprOverride list * (FSharpType * FSharpObjectExprOverride list) list) option
205205

206206
/// Matches expressions for an unresolved call to a trait
207-
val (|TraitCall|_|) : FSharpExpr -> (FSharpType list * string * FSharpType list * FSharpType list * FSharpExpr list) option
207+
val (|TraitCall|_|) : FSharpExpr -> (FSharpType list * string * Ast.MemberFlags * FSharpType list * FSharpType list * FSharpExpr list) option
208208

209-
module DerivedPatterns =
210-
211-
/// Matches expressions for an unresolved call to a trait with MemberFlags info
212-
val (|TraitCallExtended|_|) : FSharpExpr -> (FSharpType list * string * Ast.MemberFlags * FSharpType list * FSharpType list * FSharpExpr list) option

0 commit comments

Comments
 (0)