Skip to content

Commit 3d761aa

Browse files
CopilotT-Gro
andcommitted
Fix TcGlobals type reference to use fully qualified name
Changed `TcGlobals` to `TcGlobals.TcGlobals` in function signature to match the pattern used elsewhere in CheckExpressionsOps.fs and fix compilation error. Co-authored-by: T-Gro <[email protected]>
1 parent e76bb66 commit 3d761aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler/Checking/Expressions/CheckExpressionsOps.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ let inline mkOptionalParamTyBasedOnAttribute (g: TcGlobals.TcGlobals) tyarg attr
400400
/// - capturedMemberBindings: list of (localVar, valueExpr) pairs to prepend before the object expression
401401
/// - methodBodyRemap: Remap to apply to object expression method bodies to use the captured locals
402402
let TryExtractStructMembersFromObjectExpr
403-
(g: TcGlobals)
403+
(g: TcGlobals.TcGlobals)
404404
(enclosingStructTyconRefOpt: TyconRef option)
405405
(isInterfaceTy: bool)
406406
(baseValOpt: Val option)

0 commit comments

Comments
 (0)