We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get an unexpected FS3570 when using nested ignored tuple elements:
type A = { A: int } let f ((_x, y), z) = z |> Option.map _.A
Expected behavior
Compiles.
Actual behavior
Error FS3570 : The meaning of _ is ambiguous here. It cannot be used for a discarded variable and a function shorthand in the same scope.
Known workarounds
Don't use shorthand lambda, or don't ignore nested tuple elements.
The text was updated successfully, but these errors were encountered:
@cmeeren :
Hi. This issue should have been fixed with #16334 and hopefully available in the preview SDK.
Sorry, something went wrong.
Please let me know if it still persists, I will then reopen the issue and have a look.
T-Gro
No branches or pull requests
I get an unexpected FS3570 when using nested ignored tuple elements:
Expected behavior
Compiles.
Actual behavior
Known workarounds
Don't use shorthand lambda, or don't ignore nested tuple elements.
The text was updated successfully, but these errors were encountered: