DanielGavin / ols

Language server for Odin
MIT License
439 stars 67 forks source link

ols times out when incorrectly specifying array type (e.g. `int[]` instead of `[]int`) #370

Open kapoko opened 5 months ago

kapoko commented 5 months ago

When incorrectly specifying an array type ols times out.

test_proc :: proc(arg: int[]) {}

Expected behaviour

Compiler gives the following output:

test_proc :: proc(arg: int[]) {
                       ^~~~^
Suggestion: Did you mean '[]int'?

Instead I get timeout from ols (when formatting).

Thanks for the great software!