IntelliJ-Luanalysis
IntelliJ-Luanalysis copied to clipboard
It doesn't seem possible to add entries to _G directly
Environment
name | version |
---|---|
IDEA version | Intellij IDEA 2020.3.1 ; #IC-203.6682.168 |
Luanalysis version | v1.2.2 |
OS | Linux Ubuntu 20.10 |
What are the steps to reproduce this issue?
- Write
_G.log = loggerInstance
What happens?
Error: No such member 'log' found on type '_G'
What were you expecting to happen?
No such error, and even more importantly, the variable recognized as a shared/global one in the project.
It looks like global only works when _G.
is not used. Not sure where this should be solved in the plugin source though.