Skip to content

semantic: ReferenceFlag::Write should only be assigned for assignment expressions #7323

@Boshen

Description

@Boshen
var a, b;
z = (a, b = _o, x);
        ^ "flags": "Read | Write"

b should be "Write" only.

Metadata

Metadata

Assignees

Labels

C-bugCategory - BugP-highPriority - High

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions