Skip to content

Commit ab9e0f5

Browse files
CopilotT-Gro
andcommitted
Remove unused isInterfaceTy parameter
The isInterfaceTy parameter was no longer being used after removing the interface-only guard in commit 7623be8. Removed from both the function signature and call site to fix FS1182 warning. Co-authored-by: T-Gro <[email protected]>
1 parent ba60ec5 commit ab9e0f5

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/Compiler/Checking/Expressions/CheckExpressions.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7323,7 +7323,6 @@ and TcObjectExpr (cenv: cenv) env tpenv (objTy, realObjTy, argopt, binds, extraI
73237323
CheckExpressionsOps.TryExtractStructMembersFromObjectExpr
73247324
g
73257325
enclosingStructTyconRefOpt
7326-
isInterfaceTy
73277326
ctorCall // Also analyze the base constructor call
73287327
overridesAndVirts
73297328
mWholeExpr

src/Compiler/Checking/Expressions/CheckExpressionsOps.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@ let inline mkOptionalParamTyBasedOnAttribute (g: TcGlobals.TcGlobals) tyarg attr
402402
let TryExtractStructMembersFromObjectExpr
403403
(_g: TcGlobals.TcGlobals)
404404
(enclosingStructTyconRefOpt: TyconRef option)
405-
(isInterfaceTy: bool)
406405
(ctorCall: Expr) // The base constructor call expression
407406
overridesAndVirts
408407
(mWholeExpr: range)

0 commit comments

Comments
 (0)