{"action":"closed","number":176,"pull_request":{"url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/176","id":202688318,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNjg4MzE4","html_url":"https://github.com/Kotlin/kotlinx.serialization/pull/176","diff_url":"https://github.com/Kotlin/kotlinx.serialization/pull/176.diff","patch_url":"https://github.com/Kotlin/kotlinx.serialization/pull/176.patch","issue_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues/176","number":176,"state":"closed","locked":false,"title":"Add reproduction test of polymorphic container case","user":{"login":"neworld","id":38703,"node_id":"MDQ6VXNlcjM4NzAz","avatar_url":"https://avatars0.githubusercontent.com/u/38703?v=4","gravatar_id":"","url":"https://api.github.com/users/neworld","html_url":"https://github.com/neworld","followers_url":"https://api.github.com/users/neworld/followers","following_url":"https://api.github.com/users/neworld/following{/other_user}","gists_url":"https://api.github.com/users/neworld/gists{/gist_id}","starred_url":"https://api.github.com/users/neworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neworld/subscriptions","organizations_url":"https://api.github.com/users/neworld/orgs","repos_url":"https://api.github.com/users/neworld/repos","events_url":"https://api.github.com/users/neworld/events{/privacy}","received_events_url":"https://api.github.com/users/neworld/received_events","type":"User","site_admin":false},"body":"JVM (with [runtime patch](https://github.com/neworld/kotlinx.serialization/commit/e7b9ebbbd19c6504fb3fdd4244d08bdb5cbf4258)) and JS tests should succeed in `0.5.0`. Altought I didn't tests in this project, but I have very similar case in my project.\r\n\r\n`0.6.0` will fail both JVM and JS. JVM due changed output:\r\n```diff\r\n-{\"items\":[\"foo\",\"bar\"]}\r\n+{\"items\":[[\"kotlinx.serialization.PolymorphicContainer\",\"foo\"],[\"kotlinx.serialization.PolymorphicContainer\",\"bar\"]]}\r\n```\r\n\r\nI could live with it as long as JS works the same.\r\n\r\nJS compiliation is crashing with message:\r\n```\r\nCaused by: java.lang.IllegalArgumentException: Can't locate polymorphic serializer definition\r\n```","created_at":"2018-07-19T21:25:54Z","updated_at":"2018-07-20T09:18:24Z","closed_at":"2018-07-20T09:18:24Z","merged_at":null,"merge_commit_sha":"a7a6ed72cc5c8be79ffcb74057ef80eacde3de30","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/176/commits","review_comments_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/176/comments","review_comment_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues/176/comments","statuses_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/statuses/4edf1c6a884b543010ffe446b4b5b4188b28b7b6","head":{"label":"neworld:reproduction/polymorphic_container_case","ref":"reproduction/polymorphic_container_case","sha":"4edf1c6a884b543010ffe446b4b5b4188b28b7b6","user":{"login":"neworld","id":38703,"node_id":"MDQ6VXNlcjM4NzAz","avatar_url":"https://avatars0.githubusercontent.com/u/38703?v=4","gravatar_id":"","url":"https://api.github.com/users/neworld","html_url":"https://github.com/neworld","followers_url":"https://api.github.com/users/neworld/followers","following_url":"https://api.github.com/users/neworld/following{/other_user}","gists_url":"https://api.github.com/users/neworld/gists{/gist_id}","starred_url":"https://api.github.com/users/neworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neworld/subscriptions","organizations_url":"https://api.github.com/users/neworld/orgs","repos_url":"https://api.github.com/users/neworld/repos","events_url":"https://api.github.com/users/neworld/events{/privacy}","received_events_url":"https://api.github.com/users/neworld/received_events","type":"User","site_admin":false},"repo":{"id":125413685,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU0MTM2ODU=","name":"kotlinx.serialization","full_name":"neworld/kotlinx.serialization","owner":{"login":"neworld","id":38703,"node_id":"MDQ6VXNlcjM4NzAz","avatar_url":"https://avatars0.githubusercontent.com/u/38703?v=4","gravatar_id":"","url":"https://api.github.com/users/neworld","html_url":"https://github.com/neworld","followers_url":"https://api.github.com/users/neworld/followers","following_url":"https://api.github.com/users/neworld/following{/other_user}","gists_url":"https://api.github.com/users/neworld/gists{/gist_id}","starred_url":"https://api.github.com/users/neworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neworld/subscriptions","organizations_url":"https://api.github.com/users/neworld/orgs","repos_url":"https://api.github.com/users/neworld/repos","events_url":"https://api.github.com/users/neworld/events{/privacy}","received_events_url":"https://api.github.com/users/neworld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neworld/kotlinx.serialization","description":"Kotlin cross-platform / multi-format serialization ","fork":true,"url":"https://api.github.com/repos/neworld/kotlinx.serialization","forks_url":"https://api.github.com/repos/neworld/kotlinx.serialization/forks","keys_url":"https://api.github.com/repos/neworld/kotlinx.serialization/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neworld/kotlinx.serialization/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neworld/kotlinx.serialization/teams","hooks_url":"https://api.github.com/repos/neworld/kotlinx.serialization/hooks","issue_events_url":"https://api.github.com/repos/neworld/kotlinx.serialization/issues/events{/number}","events_url":"https://api.github.com/repos/neworld/kotlinx.serialization/events","assignees_url":"https://api.github.com/repos/neworld/kotlinx.serialization/assignees{/user}","branches_url":"https://api.github.com/repos/neworld/kotlinx.serialization/branches{/branch}","tags_url":"https://api.github.com/repos/neworld/kotlinx.serialization/tags","blobs_url":"https://api.github.com/repos/neworld/kotlinx.serialization/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neworld/kotlinx.serialization/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neworld/kotlinx.serialization/git/refs{/sha}","trees_url":"https://api.github.com/repos/neworld/kotlinx.serialization/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neworld/kotlinx.serialization/statuses/{sha}","languages_url":"https://api.github.com/repos/neworld/kotlinx.serialization/languages","stargazers_url":"https://api.github.com/repos/neworld/kotlinx.serialization/stargazers","contributors_url":"https://api.github.com/repos/neworld/kotlinx.serialization/contributors","subscribers_url":"https://api.github.com/repos/neworld/kotlinx.serialization/subscribers","subscription_url":"https://api.github.com/repos/neworld/kotlinx.serialization/subscription","commits_url":"https://api.github.com/repos/neworld/kotlinx.serialization/commits{/sha}","git_commits_url":"https://api.github.com/repos/neworld/kotlinx.serialization/git/commits{/sha}","comments_url":"https://api.github.com/repos/neworld/kotlinx.serialization/comments{/number}","issue_comment_url":"https://api.github.com/repos/neworld/kotlinx.serialization/issues/comments{/number}","contents_url":"https://api.github.com/repos/neworld/kotlinx.serialization/contents/{+path}","compare_url":"https://api.github.com/repos/neworld/kotlinx.serialization/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neworld/kotlinx.serialization/merges","archive_url":"https://api.github.com/repos/neworld/kotlinx.serialization/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neworld/kotlinx.serialization/downloads","issues_url":"https://api.github.com/repos/neworld/kotlinx.serialization/issues{/number}","pulls_url":"https://api.github.com/repos/neworld/kotlinx.serialization/pulls{/number}","milestones_url":"https://api.github.com/repos/neworld/kotlinx.serialization/milestones{/number}","notifications_url":"https://api.github.com/repos/neworld/kotlinx.serialization/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neworld/kotlinx.serialization/labels{/name}","releases_url":"https://api.github.com/repos/neworld/kotlinx.serialization/releases{/id}","deployments_url":"https://api.github.com/repos/neworld/kotlinx.serialization/deployments","created_at":"2018-03-15T19:00:26Z","updated_at":"2018-03-15T19:00:27Z","pushed_at":"2018-07-20T09:03:10Z","git_url":"git://github.com/neworld/kotlinx.serialization.git","ssh_url":"git@github.com:neworld/kotlinx.serialization.git","clone_url":"https://github.com/neworld/kotlinx.serialization.git","svn_url":"https://github.com/neworld/kotlinx.serialization","homepage":"","size":594,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kotlin:master","ref":"master","sha":"3318e6ca7de063130497a6fef2895b19cd45557e","user":{"login":"Kotlin","id":1446536,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NDY1MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1446536?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotlin","html_url":"https://github.com/Kotlin","followers_url":"https://api.github.com/users/Kotlin/followers","following_url":"https://api.github.com/users/Kotlin/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin/subscriptions","organizations_url":"https://api.github.com/users/Kotlin/orgs","repos_url":"https://api.github.com/users/Kotlin/repos","events_url":"https://api.github.com/users/Kotlin/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin/received_events","type":"Organization","site_admin":false},"repo":{"id":97827246,"node_id":"MDEwOlJlcG9zaXRvcnk5NzgyNzI0Ng==","name":"kotlinx.serialization","full_name":"Kotlin/kotlinx.serialization","owner":{"login":"Kotlin","id":1446536,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NDY1MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1446536?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotlin","html_url":"https://github.com/Kotlin","followers_url":"https://api.github.com/users/Kotlin/followers","following_url":"https://api.github.com/users/Kotlin/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin/subscriptions","organizations_url":"https://api.github.com/users/Kotlin/orgs","repos_url":"https://api.github.com/users/Kotlin/repos","events_url":"https://api.github.com/users/Kotlin/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kotlin/kotlinx.serialization","description":"Kotlin cross-platform / multi-format serialization ","fork":false,"url":"https://api.github.com/repos/Kotlin/kotlinx.serialization","forks_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/forks","keys_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/teams","hooks_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/hooks","issue_events_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues/events{/number}","events_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/events","assignees_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/assignees{/user}","branches_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/branches{/branch}","tags_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/tags","blobs_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/languages","stargazers_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/stargazers","contributors_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/contributors","subscribers_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/subscribers","subscription_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/subscription","commits_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/contents/{+path}","compare_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/merges","archive_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/downloads","issues_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues{/number}","pulls_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/labels{/name}","releases_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/releases{/id}","deployments_url":"https://api.github.com/repos/Kotlin/kotlinx.serialization/deployments","created_at":"2017-07-20T11:25:23Z","updated_at":"2018-07-19T20:26:39Z","pushed_at":"2018-07-20T09:03:11Z","git_url":"git://github.com/Kotlin/kotlinx.serialization.git","ssh_url":"git@github.com:Kotlin/kotlinx.serialization.git","clone_url":"https://github.com/Kotlin/kotlinx.serialization.git","svn_url":"https://github.com/Kotlin/kotlinx.serialization","homepage":"","size":802,"stargazers_count":609,"watchers_count":609,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":70,"license":null,"forks":39,"open_issues":70,"watchers":609,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/176"},"html":{"href":"https://github.com/Kotlin/kotlinx.serialization/pull/176"},"issue":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues/176"},"comments":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/Kotlin/kotlinx.serialization/statuses/4edf1c6a884b543010ffe446b4b5b4188b28b7b6"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":1527,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"neworld"}}