Skip to content

Commit fe3091b

Browse files
test: note FCS 43.10.101 fix for issue #1362; re-trigger CI to verify
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>
1 parent 5d2b360 commit fe3091b

File tree

1 file changed

+1
-0
lines changed
  • test/FsAutoComplete.Tests.Lsp/CodeFixTests

1 file changed

+1
-0
lines changed

test/FsAutoComplete.Tests.Lsp/CodeFixTests/Tests.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3656,6 +3656,7 @@ let private removeUnnecessaryParenthesesTests state =
36563656
// bg.lighten(0.2).hexa ()
36573657
// Removing them would produce invalid code:
36583658
// bg.lighten 0.2.hexa ()
3659+
// Fixed upstream in dotnet/fsharp#18350 (included in FCS >= 43.10.101).
36593660
testCaseAsync "Keep parens around float literal argument in chained method call (issue #1362)"
36603661
<| CodeFix.checkNotApplicable
36613662
server

0 commit comments

Comments
 (0)