vlang / v-analyzer

The @vlang language server, for all your editing needs like go-to-definition, code completion, type hints, and more.
MIT License
99 stars 11 forks source link

[tree_sitter_v] fix qualified type #8

Closed Lycs-D closed 8 months ago

Lycs-D commented 8 months ago

clean cache test by server/completion/CompletionResultSet.v

spytheman commented 8 months ago

I do not understand, how is CompletionResultSet.v relevant?

Lycs-D commented 8 months ago

I do not understand, how is relevant?CompletionResultSet.v

@spytheman

pub fn (mut c CompletionResultSet) elements() []lsp.CompletionItem {
//                                                  ^^^^^^^^^^^^^^ This is incorrectly interpreted as enum_fetch
//                                                  ^^^^^^^^^^^^^^ The expectation should be type_reference_expression

This issue cannot be verified by tree-sitter test, it always meets expectations This can only be reproduced during the actual run

spytheman commented 8 months ago

Thank you.