{"action":"opened","issue":{"url":"https://api.github.com/repos/scala/bug/issues/11055","repository_url":"https://api.github.com/repos/scala/bug","labels_url":"https://api.github.com/repos/scala/bug/issues/11055/labels{/name}","comments_url":"https://api.github.com/repos/scala/bug/issues/11055/comments","events_url":"https://api.github.com/repos/scala/bug/issues/11055/events","html_url":"https://github.com/scala/bug/issues/11055","id":347964643,"node_id":"MDU6SXNzdWUzNDc5NjQ2NDM=","number":11055,"title":"SortedSet.collect cannot infer partial function","user":{"login":"MasseGuillaume","id":921490,"node_id":"MDQ6VXNlcjkyMTQ5MA==","avatar_url":"https://avatars2.githubusercontent.com/u/921490?v=4","gravatar_id":"","url":"https://api.github.com/users/MasseGuillaume","html_url":"https://github.com/MasseGuillaume","followers_url":"https://api.github.com/users/MasseGuillaume/followers","following_url":"https://api.github.com/users/MasseGuillaume/following{/other_user}","gists_url":"https://api.github.com/users/MasseGuillaume/gists{/gist_id}","starred_url":"https://api.github.com/users/MasseGuillaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasseGuillaume/subscriptions","organizations_url":"https://api.github.com/users/MasseGuillaume/orgs","repos_url":"https://api.github.com/users/MasseGuillaume/repos","events_url":"https://api.github.com/users/MasseGuillaume/events{/privacy}","received_events_url":"https://api.github.com/users/MasseGuillaume/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-06T15:09:51Z","updated_at":"2018-08-06T15:09:51Z","closed_at":null,"author_association":"NONE","body":"For this specific case:\r\n\r\n```scala\r\ncollection.immutable.SortedSet(1).collect {\r\n  val x = 1\r\n  {\r\n    case y if y > 1 => y\r\n  }\r\n}\r\n```\r\n\r\ncompiles fine in 2.12 but in 2.13 I get the following error:\r\n\r\n```\r\n[error] The argument types of an anonymous function must be fully known. (SLS 8.5)\r\n[error] Expected type was: ?\r\n[error]       {\r\n[error]       ^\r\n```"}}
{"actor":{"display_login":"MasseGuillaume"}}