-
-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When calling a function from the string library or a method from a string which returns string, the variable seems to infer the type, but the type infered doens't work.
For example:
I also tested the io library and file type and they do work, custom classes works too.
Adding ---@type string
to variable seems to work better but after calling a function on the infered types it stops working:
I also tried adding ---@type string*
and it works just like the string literal and the library.
Environment:
OS: Windows
Client: VSCode
I'm using the latest version of lua language server (1.15.1).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working