Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot ignore a function defined on a Lua class #336

Open
DDevine opened this issue Dec 1, 2021 · 0 comments
Open

Cannot ignore a function defined on a Lua class #336

DDevine opened this issue Dec 1, 2021 · 0 comments

Comments

@DDevine
Copy link

DDevine commented Dec 1, 2021

The function is:
image

As you can see I tried placing the pragma before, inline and inside the function.

The error I get is:
light_driver/light_driver.lua:478: warning: Lighting has 86 NLOC, 27 CCN, 695 token, 0 PARAM, 106 length

I noticed it doesn't reference the actual function (which should be UpdateProperties) but rather references the class (Lighting). If I use a whitelizard.txt, I can't make that work either - except if I whitelist the entire class, but that is not a good solution for my codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant