Skip to content

Misleading error message for opaque type #15266

Closed
@nicolasstucki

Description

@nicolasstucki

Compiler version

3.1.2

Minimized example

opaque type Type

Output

[error] Modifier opaque is not allowed for this definition
[error] opaque type Type
[error] ^^^^^^^^^^^^^^^^

Expectation

Should state that an opaque type needs a right-hand side

Metadata

Metadata

Assignees

No one assigned

    Labels

    SpreeSuitable for a future Spreearea:reportingError reporting including formatting, implicit suggestions, etc

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions