{"action":"closed","issue":{"url":"https://api.github.com/repos/mvitousek/reticulated/issues/10","labels_url":"https://api.github.com/repos/mvitousek/reticulated/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mvitousek/reticulated/issues/10/comments","events_url":"https://api.github.com/repos/mvitousek/reticulated/issues/10/events","html_url":"https://github.com/mvitousek/reticulated/issues/10","id":124671123,"number":10,"title":"Tuple does not seem to work.","user":{"login":"migeed-z","id":10407760,"avatar_url":"https://avatars.githubusercontent.com/u/10407760?v=3","gravatar_id":"","url":"https://api.github.com/users/migeed-z","html_url":"https://github.com/migeed-z","followers_url":"https://api.github.com/users/migeed-z/followers","following_url":"https://api.github.com/users/migeed-z/following{/other_user}","gists_url":"https://api.github.com/users/migeed-z/gists{/gist_id}","starred_url":"https://api.github.com/users/migeed-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migeed-z/subscriptions","organizations_url":"https://api.github.com/users/migeed-z/orgs","repos_url":"https://api.github.com/users/migeed-z/repos","events_url":"https://api.github.com/users/migeed-z/events{/privacy}","received_events_url":"https://api.github.com/users/migeed-z/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-03T21:07:31Z","updated_at":"2016-01-04T23:05:58Z","closed_at":"2016-01-04T23:05:57Z","body":"The program below does not typecheck.\r\nclass A:\r\n    def m(self)->Tuple(A):\r\n        return (self,self)\r\nprint(A().m())\r\n\r\nHere's the error message:\r\n====STATIC TYPE ERROR=====\r\n/Users/zeinamigeed/Documents/reticulated/reticulated-master/docs/tutorial6.py:6:8: A return value of type Tuple(Object(A, {'m': Function([], Tuple(TypeVar(A)))})) was expected but a value of type Tuple(Dyn,Dyn) was returned instead. (code RETURN_ERROR)\r\n\r\nWhen I replace Tuple with List, the program typechecks and runs fine.\r\n\r\n"}}