Skip to content

configureAll: Error on extra prototypes or methods? #86

@tlively

Description

@tlively

Should configureAll error out (probably by trapping, see #84) if it does not consume all the elements from the input arrays? On the one hand, it probably doesn't matter because we assume that toolchains generating calls to configureAll will generally not have bugs, but on the other hand it might be a useful guardrail for toolchain developers.

I lean toward raising the error, although the current V8 implementation does not error out.

cc @jakobkummerow @rmahdav

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