Skip to content

Commit

Permalink
baseline trivia
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRansom committed Nov 8, 2024
1 parent f5c256f commit bb06ffa
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 130 deletions.
10 changes: 5 additions & 5 deletions src/Compiler/TypedTree/TypedTreeOps.fs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ and copyAndRemapAndBindTyparsFull remapAttrib tyenv tps doCopyTypars =
tp.SetConstraints (remapTyparConstraintsAux tyenv tporig.Constraints)
tp.SetAttribs (tporig.Attribs |> remapAttrib))
tpsR, tyenv
| doCopyTypars -> tps, tyenv
| false -> tps, tyenv

// copies bound typars, extends tpinst
and copyAndRemapAndBindTypars tyenv tps doCopyTypars =
Expand Down Expand Up @@ -392,7 +392,7 @@ let remapTypeFull remapAttrib tyenv ty =
else
match stripTyparEqns ty with
| TType_forall(tps, tau) ->
let tpsR, tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tyenv tps false //@@@@@
let tpsR, tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tyenv tps true
TType_forall(tpsR, remapType tyenvinner tau)
| _-> remapType tyenv ty

Expand All @@ -403,8 +403,8 @@ let remapParam tyenv (TSlotParam(nm, ty, fl1, fl2, fl3, attribs) as x) =
let remapSlotSig remapAttrib tyenv (TSlotSig(nm, ty, ctps, methTypars, paraml, retTy) as x) =
if isRemapEmpty tyenv then x else
let tyR = remapTypeAux tyenv ty
let ctpsR, tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tyenv ctps true //@@@@@@
let methTyparsR, tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tyenvinner methTypars true //@@@@@@
let ctpsR, tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tyenv ctps (not tyenv.realsig)
let methTyparsR, tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tyenvinner methTypars (not tyenv.realsig)
TSlotSig(nm, tyR, ctpsR, methTyparsR, List.mapSquared (remapParam tyenvinner) paraml, Option.map (remapTypeAux tyenvinner) retTy)

let mkInstRemap tpinst realsig = { Remap.Empty with tpinst = tpinst; realsig = realsig }
Expand Down Expand Up @@ -5868,7 +5868,7 @@ let remapAttribKind tmenv k =
| ILAttrib _ as x -> x
| FSAttrib vref -> FSAttrib(remapValRef tmenv vref)

let tmenvCopyRemapAndBindTypars remapAttrib tmenv tps = copyAndRemapAndBindTyparsFull remapAttrib tmenv tps true doCopyTypars
let tmenvCopyRemapAndBindTypars remapAttrib tmenv tps = copyAndRemapAndBindTyparsFull remapAttrib tmenv tps (not tmenv.realsig)

type RemapContext =
{ g: TcGlobals
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.assembly extern runtime { }
.assembly extern FSharp.Core { }
.assembly extern netstandard
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
.ver 2:1:0:0
}
.assembly assembly
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
Expand All @@ -21,16 +16,6 @@

.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationCompressedData.assembly
{


}
.module assembly.exe

Expand Down

0 comments on commit bb06ffa

Please sign in to comment.