You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect serialization using fsi and Newtonsoft on dotnet 6.0.3xx #13493
changed the title [-]Incorrect serialization using Newtonsoft on dotnet 6.0.3xx[/-][+]Incorrect serialization using fsi and Newtonsoft on dotnet 6.0.3xx[/+]on Jul 11, 2022
Activity
[-]Incorrect serialization using Newtonsoft on dotnet 6.0.3xx[/-][+]Incorrect serialization using fsi and Newtonsoft on dotnet 6.0.3xx[/+]dsyme commentedon Jul 11, 2022
@JonCanning Thank you.
As a workaround, using
dotnet fsi --multiemit-makes the problem go away. You will lose debug symbols for scripts but that's all.dsyme commentedon Jul 11, 2022
The problem is related to this line:
fsharp/src/Compiler/CodeGen/IlxGen.fs
Line 2079 in 9df7080
There's a related line we need to check here: https://github.com/dotnet/fsharp/blob/main/src/Compiler/CodeGen/IlxGen.fs#L10675