scatternoodle / wflang

WFLang
MIT License
0 stars 0 forks source link

GotoDefinition request returns empty struct, which gives a 0,0 position and blank doc URI #40

Closed scatternoodle closed 2 months ago

scatternoodle commented 2 months ago

e.g. response received for sumTime(:

[Trace - 4:58:17 PM] Received response 'textDocument/definition - (18)' in 4ms.
Result: {
    "uri": "",
    "range": {
        "start": {
            "line": 0,
            "character": 0
        },
        "end": {
            "line": 0,
            "character": 0
        }
    }
}

this causes vscode to incorrectly think there is a definition and try to go to a non-existant document URI and position.