We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inferred
As title.
fn main(): f(1, 1) # error: invalid call to 'f': fn f[inferred T: CollectionElement, U: CollectionElement](x: T, y: U): ...
Mojo 2024.5.1705 (6569da05) on Docker, Intel Mac.
The text was updated successfully, but these errors were encountered:
Another important example which doesn't work:
fn main(): _rebind[Int](1) fn _rebind[ inferred src_type: AnyRegType, dest_type: AnyRegType, ](val: src_type) -> dest_type: return rebind[dest_type, src_type](val)
Sorry, something went wrong.
Fails with new syntax too.
No branches or pull requests
Bug description
As title.
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: