Skip to content

Poor recovery when typing after enum name #48371

Closed
@scheglov

Description

@scheglov
enum E w^ {
  v
}

Here, ^ is the caret position, remove it when parsing.
The intension is to type with. But we break the enum declaration, and get separate function declaration instead.
image

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-front-endLegacy: Use area-dart-model instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions