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
$ mojo trying_stuff.mojo
/projects/open_source/mojo-stdlib-extensions/trying_stuff.mojo:7:6: error: invalid call to 'get': result cannot bind AnyRegType type to memory-only type 'String'
a, b = return_two_strings()
~^~~
/projects/open_source/mojo-stdlib-extensions/trying_stuff.mojo:1:1: note: function declared here
fn return_two_strings() -> Tuple[String, String]:
^
mojo: error: failed to parse the provided Mojo
Thanks for opening the ticket! There have been several improvements to related areas recently, and the problem in the OP no longer reproduces on head of main. Please continue to open issues if you run into problems!
Bug description
As the title says. This is quite limiting.
Steps to reproduce
System information
Edit: I tried it with Mojo 2024.1.0 and the bug is still there.
The text was updated successfully, but these errors were encountered: