Skip to content

OmniSharpDebugTest throws error relative to number of parameters the first time it is run #850

@Melandel

Description

@Melandel

Systematically, on any test (example: any test from https://github.com/Melandel/Zuc.Tests.SourceCodeExperiments), on the first run, OmniSharpDebugTest will throw the following error:

Error detected while processing function OmniSharp#proc#vimOutHandler[11]..OmniSharp#stdio#HandleResponse[42]..<SNR>135_ProjectRH:
line    9:
E118: Too many arguments for function: <SNR>136_BindTest

due to the line call a:Callback(v:true), while the callback itself requires 2 parameters (a buffer number, and a callback) on the first call.

Note: debugging the test will work as expected on later executions, so functionally everything is OK except the user experience

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions