tree-sitter-java icon indicating copy to clipboard operation
tree-sitter-java copied to clipboard

Wrong type assigned to attributes when preceded by namespace

Open eruizc-dev opened this issue 4 years ago • 0 comments

Problem description

Incorrect type assigned to attributes when you use the entire namespace.

Working with Spring you use @Service and it's recognized as an attribute (this is correct)

image

But when you also set the namespace @org.springframework.stereotype.Service it's only recognized as variable

image

I'm using nvim-treesitter and the popup you see is from nvim-treesitter playground

eruizc-dev avatar Sep 19 '21 17:09 eruizc-dev