-
Notifications
You must be signed in to change notification settings - Fork 793
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
Compiler outputs unusable type error containing stuff like ^?2863761 #9717
Comments
That reminds me of this, basically the same situation, I think: #3508. |
Side note, if you replace the generic part with e.g. |
I somehow have the feeling that this stuff is related to basic members which are expressed all over via SRTP (like |
There are other issues tracking this so I'll mark it as a duplicate but link it up with #9633 for traceability |
Just chiming in after 4 years: I can confirm that this behavior has since been resolved in public releases of F#. The code of the OP does not show errors. |
See title
Repro steps
Try compiling this code:
Expected behavior
Should compile or print out a better error message
Actual behavior
Compiler spits out:
Known workarounds
None so far
Related information
Also fails in sharplab.
Provide any related information (optional):
PS:
Please ignore how bad my code is 😂
The text was updated successfully, but these errors were encountered: