Merged
Conversation
Contributor
❗ Release notes required
|
5 tasks
e75633d to
d3fa129
Compare
T-Gro
approved these changes
Mar 10, 2025
11 tasks
github-actions bot
pushed a commit
to ionide/FsAutoComplete
that referenced
this pull request
Feb 26, 2026
…thod call Add a checkNotApplicable test verifying that parentheses around a float literal argument in a chained method call are NOT suggested for removal. bg.lighten(0.2).hexa () -- parens around 0.2 are necessary Without the fix (from dotnet/fsharp#18350), removing the parens produces invalid code: bg.lighten 0.2.hexa () The test uses Diagnostics.acceptAll so it remains valid whether or not FSAC0004 is raised -- it simply asserts the code fix is not offered. Closes #1362 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
21 tasks
github-actions bot
added a commit
to ionide/FsAutoComplete
that referenced
this pull request
Mar 9, 2026
The upstream fix from dotnet/fsharp#18350 was included in FCS 43.10.101. Confirmed: SynExpr.shouldBeParenthesizedInContext now returns true for float literal arguments in chained method calls, so FSAC0004 is no longer emitted incorrectly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
when-clauses in more scenarios. I'm not sure why I had a test asserting the opposite of this, since that example would never have worked.Checklist