Skip to content

[SR-2442] Need better diagnostics for multi-value assignment with missing parens #45047

@jtbandes

Description

@jtbandes
Previous ID SR-2442
Radar rdar://problem/72776083
Original Reporter @jtbandes
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, DiagnosticsQoI, Parser
Assignee None
Priority Medium

md5: 0eb677a1105f260bac228341f2e71d33

Issue Description:

Given var a = 1, b = 2, in some other languages you can swap them with

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfdiagnostics QoIBug: Diagnostics Quality of ImplementationparserArea → compiler: The legacy C++ parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions