IntelliJ-EmmyLua
IntelliJ-EmmyLua copied to clipboard
Issue with types
Environment
| name | version |
|---|---|
| IDEA version | 2023.2.3 |
| EmmyLua version | 1.4.8-IDEA231 |
| OS | Windows 11 |
What are the steps to reproduce this issue?
- Add a return with a boolean value to a function
- Create another function that returns the opposite
- It should return
anyinstead ofboolean.
What happens?
Invert (opposite) of type boolean (use of not <>) returns any instead of boolean.
What were you expecting to happen?
It should also return a boolean type value.
please use emmylua doc