mojo
mojo copied to clipboard
[BUG] `inferred` fails when mixed with explicit parameter
Bug description
As title.
Steps to reproduce
fn main():
f(1, 1) # error: invalid call to 'f':
fn f[inferred T: CollectionElement, U: CollectionElement](x: T, y: U):
...
System information
Mojo 2024.5.1705 (6569da05) on Docker, Intel Mac.