Skip to content

Enable multi existential type variable can be override #10776

Open
@chengpohi

Description

@chengpohi

This issue is from How to override value when value types have a different number of type parameters?
, I have tried to investigate issue and found: when compare ExistentialType with this and that has assert that their params length must be same by sameLength, but as the OP's question, there maybe has different length existential type params and their type still is legal be override.

So maybe when meet sameLength not equal, we need to try lastTry again to extract the underlying type again and check whether matches.

I have tried create a PR to fix this, Could you help review?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions