Skip to content

Parser: report a readable error in case user tries to define a case-trait #1353

Closed
@DarkDimius

Description

@DarkDimius

SIP 25 disallows defining case traits on syntax level.
Currently reported error is illegal start of definition which isn't very informative.

Metadata

Metadata

Assignees

Labels

area:reportingError reporting including formatting, implicit suggestions, etcexp:novice

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions