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
Signature file generation should use F# Core alias #14712
Area-Compiler-CodeGenIlxGen, ilwrite and things at the backendBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.
When generating a signature file from a type extension with a BCL type (or at least a type that F# Core abbreviated) the full type is used instead of the abbreviated one.
Repro steps
moduleHejtypeSystem.Int32withmemberi.PlusPlus()= i +1memberi.PlusPlusPlus():int = i +1+1typeX(y:int)=memberx.PlusPlus()= y +1
leads to
moduleHejtypeSystem.Int32withmemberPlusPlus:unit ->System.Int32type System.Int32 withmemberPlusPlusPlus:unit ->inttype X =new: y: int -> X
memberPlusPlus:unit ->int
Expected behaviour
This is more cosmetic but I was expecting to see unit -> int in all examples.
Actual behaviour
System.Int32 is used when the type is not specified.
Area-Compiler-CodeGenIlxGen, ilwrite and things at the backendBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.
Activity
Sprint 3: Add 10 tests for CodeGen issues #16362-#14712