mojo icon indicating copy to clipboard operation
mojo copied to clipboard

[BUG] `inferred` fails when mixed with explicit parameter

Open soraros opened this issue 9 months ago • 1 comments

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.

soraros avatar May 17 '24 15:05 soraros