You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a function has an overload with a mlir type, and another with a trait composition (maybe exclusive to CollectionElement?), Mojo cannot resolve the one with the mlir type.
Steps to reproduce
fntest(none: None):
passfntest[T: StringableCollectionElement](x: T):
pass# cannot bind MLIR type 'None' to trait 'StringableCollectionElement'fnmain():
test(None)
Bug description
When a function has an overload with a mlir type, and another with a trait composition (maybe exclusive to CollectionElement?), Mojo cannot resolve the one with the mlir type.
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: