Skip to content

Commit bc3ac40

Browse files
T-GroCopilot
andcommitted
Fix FS0667: disambiguate cenv record update in IlxGen.fs
The [<AutoOpen>] split brought multiple record types with 'stackGuard' field into scope (FreeVarOptions, RemapContext, cenv). Add type annotation to resolve ambiguity. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bdefb0b commit bc3ac40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Compiler/CodeGen/IlxGen.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3208,7 +3208,7 @@ and DelayCodeGenMethodForExpr cenv mgbuf (_, _, eenv, _, _, _, _ as args) =
32083208
let change3rdOutOf7 (a1, a2, _, a4, a5, a6, a7) newA3 = (a1, a2, newA3, a4, a5, a6, a7)
32093209

32103210
if eenv.delayCodeGen then
3211-
let cenv =
3211+
let cenv: cenv =
32123212
{ cenv with
32133213
stackGuard = getEmptyStackGuard ()
32143214
}

0 commit comments

Comments
 (0)