Skip to content

Wrong link for operator == in dartdoc for class int and double #2251

@eernstg

Description

@eernstg

Consider the double class dartdoc, operator ==: This operator is inherited, and the entry for the operator links to the operator == of Object. The same is true for the int class dartdoc.

However, this link is misleading because the inherited implementation comes from num and not from Object (and I believe these links are supposed to point to the inherited implementation, not just to an arbitrary implementation in a superclass).

The issue may arise because of the substantial amount of special casing that applies for operator == and for the classes int and double, but it would still be better if we could have a link to the operator == in num from the pages about int and double.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions