-
Couldn't load subscription status.
- Fork 833
Allow typed bindings(and!) in CE without parentheses #18682
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
Conversation
❗ Release notes required
|
and! typed bindings|
This is ready @T-Gro |
|
Thanks @edgarfgp for getting this in. |
|
/azn run |
|
Thanks @T-Gro. Can you please re-run the CI ?. Don't want to close a re-open the PR. |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Description
Allow computation expression (CE) bindings (
let!,use!,and!) to accept type annotations without requiring parentheses.Continuation of #18508
Implements RFC FS-1329: fsharp/fslang-design#802
Introduces significant grammar unification:
bindingPatternWithOptTypeandceBindingCoremkLetExpressionandmkAndBangAllowTypedLetUseAndBangThe above rule unification will allow us to remove in a separate PR
LetOrUseBang, adding boolenisComputedproperty(true for let!/use!, false for let/use) toLetOrUse.Checklist