From cc675bea3e2d03fafd142b588332123236deb91a Mon Sep 17 00:00:00 2001 From: Vlad Zarytovskii Date: Mon, 14 Oct 2024 20:05:04 +0200 Subject: [PATCH] Revert some unnecesasry changes around seq --- src/Compiler/CodeGen/IlxGen.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Compiler/CodeGen/IlxGen.fs b/src/Compiler/CodeGen/IlxGen.fs index ee0e3ce6bac..2a1c876b8f5 100644 --- a/src/Compiler/CodeGen/IlxGen.fs +++ b/src/Compiler/CodeGen/IlxGen.fs @@ -6025,7 +6025,7 @@ and GenStructStateMachine cenv cgbuf eenvouter (res: LoweredStateMachine) sequel GetImmediateInterfacesOfType SkipUnrefInterfaces.Yes g cenv.amap m templateStructTy let ilInterfaceTys = - Seq.map (GenType cenv m eenvinner.tyenv >> InterfaceImpl.Create) interfaceTys + List.map (GenType cenv m eenvinner.tyenv >> InterfaceImpl.Create) interfaceTys let super = g.iltyp_ValueType @@ -6256,7 +6256,7 @@ and GenStructStateMachine cenv cgbuf eenvouter (res: LoweredStateMachine) sequel methods = mkILMethods mdefs, methodImpls = mkILMethodImpls mimpls, nestedTypes = emptyILTypeDefs, - implements = InterruptibleLazy.FromValue(ilInterfaceTys |> Seq.toList), + implements = InterruptibleLazy.FromValue(ilInterfaceTys), extends = Some super, additionalFlags = ILTypeDefAdditionalFlags.None, securityDecls = emptyILSecurityDecls