Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRansom committed Oct 19, 2024
1 parent e62339c commit 35a8aad
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Compiler/TypedTree/TypedTreeOps.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5869,10 +5869,14 @@ let remapAttribKind tmenv k =
| ILAttrib _ as x -> x
| FSAttrib vref -> FSAttrib(remapValRef tmenv vref)

let tmenvCopyRemapAndBindTypars remapAttrib tmenv tps =
let tps', tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tmenv tps
let tmenvinner = tyenvinner
tps', tmenvinner
let tmenvCopyRemapAndBindTypars remapAttrib tmenv tps =
match tmenv.realsig with
| false ->
let tps', tyenvinner = copyAndRemapAndBindTyparsFull remapAttrib tmenv tps
let tmenvinner = tyenvinner
tps', tmenvinner
| true ->
tps, tmenv

type RemapContext =
{ g: TcGlobals
Expand Down

0 comments on commit 35a8aad

Please sign in to comment.