Backwards compatibility broken #18344
Labels
Area-Compiler-SRTP
bugs in SRTP inference, resolution, witness passing, code gen
Bug
Impact-High
(Internal MS Team use only) Describes an issue with extreme impact on existing code.
Needs-Triage
Milestone
The following code is compiled differently in F#9, depending on which SDK is used ( 8 vs 9, in both cases targeting net8 )
Looking at the produced type for IsAltLeftZero there are some diffs in the
Invoke$W
method (I guess W stands for witness)At the end of the day, the problem is when using the produced dll, from F# 9, the following call will fail when compiled with sdk 8
Known workarounds
The only workaround is recompile everything in F#9
Note: I this is a major breaking change. Running SRTP code from FSharpPlus breaks in so many places (See fsprojects/FSharpPlus#613) that I will be really surprised if this affects only F#+ code.
The text was updated successfully, but these errors were encountered: