Skip to content

Same binder allowed multiple times in pats #280

@osa1

Description

@osa1
type Foo(U32, U32)

f() Foo:
    Foo(1, 2)

main():
    match f():
        Foo(x, x): print(x)

Doesn't give type err currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtype checkerType checker implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions