Skip to content

Docs: make the meaning of "Error" clearer in the Generics docs #161157

Closed as not planned

Description

@JadenV15

Documentation

I think the Generics docs is confusing in the way it describes errors. Currently, the following code comments are used:

  • # INVALID
  • # illegal
  • # Error
  • # Rejected
  • # NOT valid
  • # Not OK
  • # Type error
  • # Type checker error

These don't distinguish between actual runtime errors vs type checker warnings in code examples. Only the last one is fully clear.

What do we think?

Activity

  1. NekoAsakura commented on Nov 2, 2026

    @NekoAsakura
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions