F# 5.0 Regression with generic overloads containing nullable #10547
Labels
Impact-High
(Internal MS Team use only) Describes an issue with extreme impact on existing code.
Regression
Milestone
There appears to be an issue with type inference and generic overloads that doesn't exist in 4.7, causing the same code not to compile with 5.0.
Repro steps
Provide the steps required to reproduce the problem:
Git repo of example with an F# 4.7 and 5.0 project in Visual Studio Solution: https://github.com/jbtule/Fsharp5OverloadIssue
Expected behavior
Compile without error
Actual behavior
Compiler error
Error FS0072 Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.
Known workarounds
Related information
Provide any related information (optional):
The text was updated successfully, but these errors were encountered: