lua-language-server
lua-language-server copied to clipboard
Class are both the correct class type and undefined
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Type Checking
Expected Behaviour
IPv4Router should be a kind of Object.
Actual Behaviour
Reproduction steps
- Clone https://github.com/AR2000AR/openComputers_codes
- Install the definitions https://github.com/AR2000AR/opencomputers-openos-definitions to reduce the number of errors. Wireshark related files errors can be ignored (since there is not complete definitions for Wireshark available yet)
- Open
network/lib/network/ipv4/IPv4Layer.lua:108
Additional Notes
312 errors with 3.7.4 9 errors with 3.6.21
Log File
3.7.4 file_home_ar2000_Documents_Programmation_Lua_openComputers_codes.worktrees_lls-rework.log 3.6.21 file_home_ar2000_Documents_Programmation_Lua_openComputers_codes.worktrees_lls-rework.log