Skip to content

Quote types in type errors? #2056

Description

@hdgarrood

If you refer to the Error type without importing it first, then you get this:

Unknown type Error

which is easy to misread as "a type error occurred which was unknown to the compiler" rather than "your code refers to an unknown type called 'Error'". Perhaps we can make this distinction a little clearer? Unknown type: Error or Unknown type 'Error' perhaps?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions