-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS0073: internal error: Undefined or unsolved type variable when using records with generic type variables and overloaded operators in inline function #9416
Comments
Confirmed with |
@cartermp I can confirm that the fix @dsyme did while testing F#+ for FS-1043 solves this issue. Running the sample from an fsi compiled with the feature/ext branch with
Here's the fix #6805 (comment) I mean, the commits before my comment. |
I've recorded this in #9416 to investiaget in the context of that branch work |
Related? #12761 |
When defining a set of generic Vector types, I came across this error after adding an inline function that internally uses an overloaded operator (e.g.
op_Addition
as in the example below) that take a vector and a constant ('T).Repro steps
Expected behavior
Should presumably not throw an internal error.
Actual behavior
F# encounters an internal error:
Known workarounds
Any of the following steps prevent the internal error from occurring:
amount
Related information
Possibly related issue: #6648
The text was updated successfully, but these errors were encountered: