Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Isorecursion seems too weak #217

Closed
Closed
@RossTate

Description

@RossTate

Here are two class hierarchies that isorecursion (as just presented) seems to not support (but which nominal types support):

class A { A foo(B); }
class B extends A { override B foo(B); }
class X { X bar(); }
class Y extends X { Z z; override Y bar(); }
class Z { Y y; }

Metadata

Metadata

Assignees

No one assigned

    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