Skip to content

buffer: hard-deprecate calling Buffer without new#8169

Closed
seishun wants to merge 5 commits intonodejs:masterfrom
seishun:new
Closed

buffer: hard-deprecate calling Buffer without new#8169
seishun wants to merge 5 commits intonodejs:masterfrom
seishun:new

Conversation

@seishun
Copy link
Contributor

@seishun seishun commented Aug 18, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

buffer

Description of change

Light version of #7152.

We want to make Buffer a class so that it can be subclassed. However, instantiating a class requires new. This hard-deprecates calling Buffer without new.

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

Labels

buffer Issues and PRs related to the buffer subsystem. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.