Skip to content
This repository was archived by the owner on Sep 9, 2018. It is now read-only.
This repository was archived by the owner on Sep 9, 2018. It is now read-only.

Unions #8

Open
Open
@orefalo

Description

@orefalo

Best way to do it is via an interface

class Rabbit implements AnimalUnion {...}
class Dog implements AnimalUnion {...}

this will generate
union Animal = Rabbit | Dog

My 2c

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