{"action":"created","issue":{"url":"https://api.github.com/repos/ohua-dev/ohuac/issues/2","repository_url":"https://api.github.com/repos/ohua-dev/ohuac","labels_url":"https://api.github.com/repos/ohua-dev/ohuac/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ohua-dev/ohuac/issues/2/comments","events_url":"https://api.github.com/repos/ohua-dev/ohuac/issues/2/events","html_url":"https://github.com/ohua-dev/ohuac/issues/2","id":299695785,"number":2,"title":"Support tuples as return types","user":{"login":"Feliix42","id":9332912,"avatar_url":"https://avatars3.githubusercontent.com/u/9332912?v=4","gravatar_id":"","url":"https://api.github.com/users/Feliix42","html_url":"https://github.com/Feliix42","followers_url":"https://api.github.com/users/Feliix42/followers","following_url":"https://api.github.com/users/Feliix42/following{/other_user}","gists_url":"https://api.github.com/users/Feliix42/gists{/gist_id}","starred_url":"https://api.github.com/users/Feliix42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Feliix42/subscriptions","organizations_url":"https://api.github.com/users/Feliix42/orgs","repos_url":"https://api.github.com/users/Feliix42/repos","events_url":"https://api.github.com/users/Feliix42/events{/privacy}","received_events_url":"https://api.github.com/users/Feliix42/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-23T12:27:45Z","updated_at":"2018-02-23T14:18:32Z","closed_at":"2018-02-23T14:04:25Z","author_association":"NONE","body":"While working on ohua-dev/ohua-rust-runtime#7, I noticed that the following dummy `ohuac` file does not compile\r\n\r\n```rust\r\nns some_ns;\r\n\r\nuse sf tuples (append_to_string, extend_string, output_values);\r\n\r\nfn main(input_number: i32, input_string: String) -> (i32, String, usize) {\r\n    let intermediate = append_to_string(input_string, input_number);\r\n    let extended = extend_string(intermediate);\r\n    output_values(input_number, extended)\r\n}\r\n```\r\n\r\nindicating that tuples are not supported by ohuac right now. As returning tuples is not that uncommon I would love seeing them added."},"comment":{"url":"https://api.github.com/repos/ohua-dev/ohuac/issues/comments/368020859","html_url":"https://github.com/ohua-dev/ohuac/issues/2#issuecomment-368020859","issue_url":"https://api.github.com/repos/ohua-dev/ohuac/issues/2","id":368020859,"user":{"login":"JustusAdam","id":5824532,"avatar_url":"https://avatars0.githubusercontent.com/u/5824532?v=4","gravatar_id":"","url":"https://api.github.com/users/JustusAdam","html_url":"https://github.com/JustusAdam","followers_url":"https://api.github.com/users/JustusAdam/followers","following_url":"https://api.github.com/users/JustusAdam/following{/other_user}","gists_url":"https://api.github.com/users/JustusAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/JustusAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustusAdam/subscriptions","organizations_url":"https://api.github.com/users/JustusAdam/orgs","repos_url":"https://api.github.com/users/JustusAdam/repos","events_url":"https://api.github.com/users/JustusAdam/events{/privacy}","received_events_url":"https://api.github.com/users/JustusAdam/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T14:18:32Z","updated_at":"2018-02-23T14:18:32Z","author_association":"CONTRIBUTOR","body":"It's okay. Happens to everyone 😉 "}}
{"actor":{"display_login":"JustusAdam"}}