Skip to content

[WIP] FSharp.Compiler.Service 43.12.201 #850

Draft
Numpsy wants to merge 9 commits intofsprojects:masterfrom
Numpsy:fcs4312
Draft

[WIP] FSharp.Compiler.Service 43.12.201 #850
Numpsy wants to merge 9 commits intofsprojects:masterfrom
Numpsy:fcs4312

Conversation

@Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Mar 15, 2026

This contains the whole of #770, plus an extra commit to update to FCS 43.12.201 (I'm not clear what's going on with the version numbers here)

Needs a review to see if the 'ExpressionUtilities.LetOrUse' helper is the right approach.

| SynExpr.LetOrUse(_, _, bindings, body, _, _) ->
let instanceNames = extraFromBindings bindings List.Empty |> Set.ofList
processLetBinding instanceNames body returnEmptyArray
| SynExpr.LetOrUse letOrUse when not letOrUse.IsBang ->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is using when because when I tried the active pattern I got error FS3569: The member or function 'processLetBinding' has the 'TailCallAttribute' attribute, but is not being used in a tail recursive way.

@Numpsy
Copy link
Contributor Author

Numpsy commented Mar 15, 2026

Looks like the performance is still bad without #845

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants