{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/1242","labels_url":"https://api.github.com/repos/manastech/crystal/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/1242/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/1242/events","html_url":"https://github.com/manastech/crystal/issues/1242","id":102050923,"number":1242,"title":"type must be...?","user":{"login":"stugol","id":1113153,"avatar_url":"https://avatars.githubusercontent.com/u/1113153?v=3","gravatar_id":"","url":"https://api.github.com/users/stugol","html_url":"https://github.com/stugol","followers_url":"https://api.github.com/users/stugol/followers","following_url":"https://api.github.com/users/stugol/following{/other_user}","gists_url":"https://api.github.com/users/stugol/gists{/gist_id}","starred_url":"https://api.github.com/users/stugol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stugol/subscriptions","organizations_url":"https://api.github.com/users/stugol/orgs","repos_url":"https://api.github.com/users/stugol/repos","events_url":"https://api.github.com/users/stugol/events{/privacy}","received_events_url":"https://api.github.com/users/stugol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-20T03:14:46Z","updated_at":"2015-08-21T12:43:22Z","closed_at":null,"body":"I can't reproduce this on the REPL, because I'm not sure what causes it. But my code won't compile and says ```type must be (StringIO | ArrayStream), not (StringIO | ArrayStream | DeltaChecker::RangedSubStream)```. I was assigning an instance variable at the time.\r\n\r\nShouldn't the type unioning system figure \"well, obviously this variable has to be a (StringIO | ArrayStream | RangedSubStream) so I'll make it be one of those\"? Why does it pick the first two and then fall apart when I assign it later on? Isn't that the whole *point* of the unioning system? That it's automatic?\r\n\r\nI could really use an explanation for this one. If necessary, I'll zip my entire project and upload it somewhere for you guys to examine."},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/133414338","html_url":"https://github.com/manastech/crystal/issues/1242#issuecomment-133414338","issue_url":"https://api.github.com/repos/manastech/crystal/issues/1242","id":133414338,"user":{"login":"stugol","id":1113153,"avatar_url":"https://avatars.githubusercontent.com/u/1113153?v=3","gravatar_id":"","url":"https://api.github.com/users/stugol","html_url":"https://github.com/stugol","followers_url":"https://api.github.com/users/stugol/followers","following_url":"https://api.github.com/users/stugol/following{/other_user}","gists_url":"https://api.github.com/users/stugol/gists{/gist_id}","starred_url":"https://api.github.com/users/stugol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stugol/subscriptions","organizations_url":"https://api.github.com/users/stugol/orgs","repos_url":"https://api.github.com/users/stugol/repos","events_url":"https://api.github.com/users/stugol/events{/privacy}","received_events_url":"https://api.github.com/users/stugol/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T12:43:22Z","updated_at":"2015-08-21T12:43:22Z","body":"Anyhow, here's the link: https://www.dropbox.com/s/4umuwctvqs0sdh3/DeltaBackup-crystal.zip?dl=0\r\n\r\nThe entry point is the tests file."}}