Skip to content

SuppressedError.length should be 3 #9282

Open

Description

What version of Bun is running?

1.0.30

What platform is your computer?

mac

What steps can reproduce the bug?

console.log(SuppressedError.length); // => 2

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

In the spec draft, the third argument (like message arguments in all other error constructors) is not optional https://github.com/tc39/proposal-explicit-resource-management/blob/8b709793a07d4ffec0a90baa92bfbf7e7208df6b/spec.emu#L4170

Activity

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

Metadata

Assignees

Labels

bugSomething isn't workingweb-apiSomething that relates to a standard Web API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions