Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit e457539

Browse files
KevinRansomnosami
authored andcommitted
Bloody mutable fields (dotnet#10116)
1 parent 6079186 commit e457539

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fsharp/TypedTreePickle.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ type PickledDataWithReferences<'rawData> =
5353
// Only fixup what needs fixing up
5454
if reqd.IsUnresolvedReference then
5555
match loader reqd.AssemblyName with
56-
| Some loaded -> reqd.Fixup loaded
56+
| Some loaded ->
57+
if reqd.IsUnresolvedReference then reqd.Fixup loaded
5758
| _ -> () )
5859
x.RawData
5960

0 commit comments

Comments
 (0)