Skip to content

Commit d9d7fa0

Browse files
committed
wip
1 parent 0588503 commit d9d7fa0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### Fixed
2+
* Shorthand lambda: fix completion for chained calls and analysis for unfinished expression ([PR #18560](https://github.com/dotnet/fsharp/pull/18560))

src/Compiler/SyntaxTree/SyntaxTreeOps.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ let rec pushUnaryArg expr arg =
103103
SynExpr.TypeApp(innerExpr, mLess, tyargs, mCommas, mGreater, mTypars, m)
104104
| SynExpr.ArbitraryAfterError(_, m) when m.Start = m.End ->
105105
SynExpr.DiscardAfterMissingQualificationAfterDot(SynExpr.Ident arg, m.StartRange, unionRanges arg.idRange m)
106-
| SynExpr.DiscardAfterMissingQualificationAfterDot(synExpr, _, _) ->
107-
pushUnaryArg synExpr arg
106+
| SynExpr.DiscardAfterMissingQualificationAfterDot(synExpr, _, _) -> pushUnaryArg synExpr arg
108107
| _ ->
109108
errorR (Error(FSComp.SR.tcDotLambdaAtNotSupportedExpression (), expr.Range))
110109
expr

0 commit comments

Comments
 (0)