Skip to content

should allow duplicate __proto__ keys in patterns #6705

@babel-bot

Description

@babel-bot

Issue originally reported by @babel-bot in babel/babylon#306

Original issue submitted by @gsathya in #5145

Input Code

result = { __proto__: x, __proto__: y } = value;

Babel Configuration (.babelrc, package.json, cli command)

presets - latest

Expected Behavior

No error

Current Behavior

Error: Redefinition of __proto__ property

Possible Solution

Context

Your Environment

software version
Babel
node
npm
Operating System

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions