Skip to content

Protect against function/method confusion #2

@profburke

Description

@profburke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions