Skip to content

Receiver parameter for CallAsFunction should be Local<Value> #497

Description

@cscott

The receiver can be null, so the receiver parameter for Nan::CallAsFunction should be Local<Value> not Local<Object>. The parameter is declared as Local<Value> in v8, it's just Nan which has the overly-restrictive type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions