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
bug.mojo:14:34: error: no matching function in call to 'do_something'
return do_something[T, "Hey"]()
~~~~~~~~~~~~~~~~~~~~~~^~
bug.mojo:9:4: note: candidate not viable: callee parameter #0 has 'MyTrait' type, but value has type 'MyOtherTrait'
fn do_something[T: MyTrait, key: StringLiteral]() -> T.DomainType:
^
bug.mojo:13:4: note: candidate not viable: callee expects 1 parameter, but 2 were specified
fn do_something[T: MyOtherTrait]() -> T.DomainType:
^
mojo: error: failed to parse the provided Mojo source module
Bug description
Compile error:
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: