Skip to content

Unification of int, empty array and int array fails #12

Closed
@asterite

Description

a = 1
a = []
a = []
a << 1

"a" is incorrectly typed as a union of Int and Array<Int>, but it should be a union of Int, Array<Nil> and Array<Int>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions