{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/1644","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/1644/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/1644/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/1644/events","html_url":"https://github.com/facebook/flow/issues/1644","id":147188111,"number":1644,"title":"[mixed type] Supertype bug ","user":{"login":"vieks","id":9884533,"avatar_url":"https://avatars.githubusercontent.com/u/9884533?v=3","gravatar_id":"","url":"https://api.github.com/users/vieks","html_url":"https://github.com/vieks","followers_url":"https://api.github.com/users/vieks/followers","following_url":"https://api.github.com/users/vieks/following{/other_user}","gists_url":"https://api.github.com/users/vieks/gists{/gist_id}","starred_url":"https://api.github.com/users/vieks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieks/subscriptions","organizations_url":"https://api.github.com/users/vieks/orgs","repos_url":"https://api.github.com/users/vieks/repos","events_url":"https://api.github.com/users/vieks/events{/privacy}","received_events_url":"https://api.github.com/users/vieks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-10T03:19:56Z","updated_at":"2016-04-10T07:52:39Z","closed_at":"2016-04-10T06:18:40Z","body":"From the doc:\r\n\r\n> The mixed type is a supertype of all types.\r\n\r\nSo:\r\n```javascript\r\nconst foo: Object = {};\r\nconst bar: mixed = foo;\r\n```\r\n```No errors!```\r\n\r\nOK, since mixed is the Supertype of 'Object'.\r\n\r\nBut:\r\n```javascript\r\nconst foo: Array<Object> = [{}, {}];\r\nconst bar: Array<mixed> = foo;\r\n```\r\n```\r\n144: const bar: Array<mixed> = foo;\r\n                      ^^^^^ mixed. This type is incompatible with\r\n143: const foo: Array<Object> = [{}, {}];\r\n                      ^^^^^^ object type\r\n```\r\n\r\nWTF ??? Now mixed is not the supertype of Object ???"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/207941109","html_url":"https://github.com/facebook/flow/issues/1644#issuecomment-207941109","issue_url":"https://api.github.com/repos/facebook/flow/issues/1644","id":207941109,"user":{"login":"vieks","id":9884533,"avatar_url":"https://avatars.githubusercontent.com/u/9884533?v=3","gravatar_id":"","url":"https://api.github.com/users/vieks","html_url":"https://github.com/vieks","followers_url":"https://api.github.com/users/vieks/followers","following_url":"https://api.github.com/users/vieks/following{/other_user}","gists_url":"https://api.github.com/users/vieks/gists{/gist_id}","starred_url":"https://api.github.com/users/vieks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieks/subscriptions","organizations_url":"https://api.github.com/users/vieks/orgs","repos_url":"https://api.github.com/users/vieks/repos","events_url":"https://api.github.com/users/vieks/events{/privacy}","received_events_url":"https://api.github.com/users/vieks/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T07:52:39Z","updated_at":"2016-04-10T07:52:39Z","body":"No prob.\r\nYou welcome :)"}}