{"action":"closed","issue":{"url":"https://api.github.com/repos/AnyDSL/thorin/issues/27","labels_url":"https://api.github.com/repos/AnyDSL/thorin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/AnyDSL/thorin/issues/27/comments","events_url":"https://api.github.com/repos/AnyDSL/thorin/issues/27/events","html_url":"https://github.com/AnyDSL/thorin/issues/27","id":96335108,"number":27,"title":"'May be undefined' message","user":{"login":"madmann91","id":8089474,"avatar_url":"https://avatars.githubusercontent.com/u/8089474?v=3","gravatar_id":"","url":"https://api.github.com/users/madmann91","html_url":"https://github.com/madmann91","followers_url":"https://api.github.com/users/madmann91/followers","following_url":"https://api.github.com/users/madmann91/following{/other_user}","gists_url":"https://api.github.com/users/madmann91/gists{/gist_id}","starred_url":"https://api.github.com/users/madmann91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmann91/subscriptions","organizations_url":"https://api.github.com/users/madmann91/orgs","repos_url":"https://api.github.com/users/madmann91/repos","events_url":"https://api.github.com/users/madmann91/events{/privacy}","received_events_url":"https://api.github.com/users/madmann91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"leissa","id":8067180,"avatar_url":"https://avatars.githubusercontent.com/u/8067180?v=3","gravatar_id":"","url":"https://api.github.com/users/leissa","html_url":"https://github.com/leissa","followers_url":"https://api.github.com/users/leissa/followers","following_url":"https://api.github.com/users/leissa/following{/other_user}","gists_url":"https://api.github.com/users/leissa/gists{/gist_id}","starred_url":"https://api.github.com/users/leissa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leissa/subscriptions","organizations_url":"https://api.github.com/users/leissa/orgs","repos_url":"https://api.github.com/users/leissa/repos","events_url":"https://api.github.com/users/leissa/events{/privacy}","received_events_url":"https://api.github.com/users/leissa/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-21T14:44:48Z","updated_at":"2015-08-12T14:14:19Z","closed_at":"2015-08-12T14:14:19Z","body":"I got the 'May be undefined' message after compiling the following piece of code:\r\n\r\n    fn iterate_children(mut node_id: &i32) -> () {\r\n        for call_me() {\r\n            if 42 < *node_id {\r\n                // Nothing to see here\r\n            }\r\n        }\r\n        *node_id = 42;\r\n    }\r\n\r\n    fn call_me(body: fn() -> ()) -> () {\r\n        body();\r\n    }\r\n\r\n    extern fn traverse_accel() -> () {\r\n        let mut node_id = 42;\r\n        while node_id < 42 {\r\n            @iterate_children(&node_id);\r\n        }\r\n    }\r\n"}}