Skip to content

SuppressedError.length should be 3 #9282

Closed
@zloirock

Description

@zloirock

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

Metadata

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