Skip to content

getInputs() error on functions with no parameters #39

@nick-ulle

Description

@nick-ulle

Calling getInputs() on a function with no parameters produces an error:

getInputs(function() {})
# Error in validObject(.Object) :
#   invalid class "ScriptNodeInfo" object: invalid object for slot "outputs" in class "ScriptNodeInfo":
#   got class "NULL", should be or extend class "character"

The error goes away if you add a parameter to the function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions