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

v8: warn in Template::Set() on improper use #6277

Merged
merged 1 commit into from
Apr 22, 2016

Commits on Apr 22, 2016

  1. v8: warn in Template::Set() on improper use

    The next major release will make it a fatal error to use non-primitive
    values in function templates and object templates.
    
    Print a warning that includes the C and JS stack trace to tell people to
    upgrade their add-ons.  The C stack trace is only printed on platforms
    that support it (the BSDs, OS X and Linux+glibc.)
    
    The warning can be disabled with the new `--nowarn_template_set` flag.
    
    Refs: nodejs#6216
    PR-URL: nodejs#6277
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    7940ecf View commit details
    Browse the repository at this point in the history