Allow typed bindings(and!) in CE without parentheses
Description
Allow computation expression (CE) bindings (let!, use!, and!) to accept type annotations without requiring parentheses.
Continuation of https://github.com/dotnet/fsharp/pull/18508 Implements RFC FS-1329: https://github.com/fsharp/fslang-design/pull/802
Checklist
- [x] Test cases added
- [x] Release notes entry updated
:heavy_exclamation_mark: Release notes required
:white_check_mark: Found changes and release notes in following paths:
Change path Release notes path Description src/Compilerdocs/release-notes/.FSharp.Compiler.Service/10.0.100.md LanguageFeatures.fsidocs/release-notes/.Language/preview.md
/azp run
Commenter does not have sufficient privileges for PR 18682 in repo dotnet/fsharp
This is ready @T-Gro
Thanks @edgarfgp for getting this in. The resulting parser code is more unified and better readable across the similar syntactical constructs 👍 .
/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).