-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What did you do?
@generic(T)
def foo(a: T):
pass
@generic(T)
def foo(a: T, b: T):
pass
def main():
foo[u8](1, 2)
What did you expect to see?
Successful compilation.
What did you see instead?
File "./src/main.mys", line 10
foo[u8](1, 2)
^
CompileError: expected 1 parameter, got 2
Mys version
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working