Skip to content

Code action on C# not working #1225

@serezlan

Description

@serezlan

Hello,

I tried to do some code action on C# and it failed with following error:

Lisp nesting exceeds ‘max-lisp-eval-depth’: 1601

I traced it and it appears the function lsp-bridge-code-action--fix-do is called hundreds of time. Even expanding the nest list to 10k or larger didn't help.
I also tried to use other csharp-ls with same result.

Attached is a sample project.
On the top of Program.cs there's two lines which we should be able to remove via code-action.

Thx

test-project.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions