Skip to content

Incorrect Equal implementation on AsyncResult #9740

Closed

Description

@jdharrisnz

[Equal.symbol](this: AsyncResult<any, any>, that: AsyncResult<any, any>): boolean {

AsyncResult’s [Equal.symbol] method assumes that is another AsyncResult, but Equal.equals only guarantees that it implements Equal and has a matching hash. The method should accept that: Equal.Equal and check isAsyncResult(that) before comparing fields.

Activity

  1. self-assigned this
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions