-
Notifications
You must be signed in to change notification settings - Fork 815
Strange behavior in runtime #18417
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
Comments
Hi @Martin521, I found an interesting stuff related to you investigation.
In this case, the explicit member constraint successfully has been expressed it in IL by an interface constraint (successfully executed in fsi, SDK 9.0.103), And type ^T is NOT a "head type"... How do you think about this case? I mean... maybe the following code snipets should be valid for F# itself (not related to CLR)
or
|
If anyone come across here, I got the workaround:
|
@ingted I missed the comment you made a month ago. |
A much quicker workaround:
No inherit required!! |
According to this #15135
Looks good in editor (no syntax error), but results
Is normal.
However
Provides very similar functionality, but working...
Excuse me, is anyone kind to tell what's the difference? Since according to the past investigation,
The text was updated successfully, but these errors were encountered: