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

add a warning if callfunc/@ is called with more than 5 parameters #760

Closed
ZeeD opened this issue Dec 19, 2022 · 1 comment · Fixed by #765
Closed

add a warning if callfunc/@ is called with more than 5 parameters #760

ZeeD opened this issue Dec 19, 2022 · 1 comment · Fixed by #765
Assignees

Comments

@ZeeD
Copy link
Contributor

ZeeD commented Dec 19, 2022

I'm not sure about the cause of this limitation, but, apparently, it's not possible to call a function of a node with more that 5 parameters. If I do it, my channel stops, and, half of the times, my roku devices crashes and reset.

It would be useful to add some linters/compiler warnings about

  • defining a function in a component (exposed in the <interface />) with more than 5 parameters
  • calling [email protected](...) / node.callfunc("function", ...) with more than 5/6 parameters
@iObject iObject self-assigned this Jan 6, 2023
@iObject
Copy link
Collaborator

iObject commented Jan 6, 2023

@ZeeD Great suggestion. Working on this now.

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

Successfully merging a pull request may close this issue.

2 participants