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

Protect against function/method confusion #2

Open
profburke opened this issue Nov 21, 2015 · 0 comments
Open

Protect against function/method confusion #2

profburke opened this issue Nov 21, 2015 · 0 comments
Labels

Comments

@profburke
Copy link
Owner

If you accidentally call a blink method as a function, i.e. if you do something like the following:

local d = blink.open(0)
d.set(128, 255, 100) -- should be d:set(128, 255, 100)

you get a seg fault.

Need to figure out how to detect this and give an error, rather than a crash.

@profburke profburke added the bug label Nov 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant