{"action":"created","issue":{"url":"https://api.github.com/repos/ochrons/boopickle/issues/17","labels_url":"https://api.github.com/repos/ochrons/boopickle/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ochrons/boopickle/issues/17/comments","events_url":"https://api.github.com/repos/ochrons/boopickle/issues/17/events","html_url":"https://github.com/ochrons/boopickle/issues/17","id":89344334,"number":17,"title":"Compile error when using boopickle with a project that uses scalac \"-Xstrict-inference\"","user":{"login":"ngbinh","id":211327,"avatar_url":"https://avatars.githubusercontent.com/u/211327?v=3","gravatar_id":"","url":"https://api.github.com/users/ngbinh","html_url":"https://github.com/ngbinh","followers_url":"https://api.github.com/users/ngbinh/followers","following_url":"https://api.github.com/users/ngbinh/following{/other_user}","gists_url":"https://api.github.com/users/ngbinh/gists{/gist_id}","starred_url":"https://api.github.com/users/ngbinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngbinh/subscriptions","organizations_url":"https://api.github.com/users/ngbinh/orgs","repos_url":"https://api.github.com/users/ngbinh/repos","events_url":"https://api.github.com/users/ngbinh/events{/privacy}","received_events_url":"https://api.github.com/users/ngbinh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-18T17:00:05Z","updated_at":"2015-06-22T03:06:42Z","closed_at":null,"body":"When include boopickle 1.0.0 and turn on `\"-Xstrict-inference\"`, this line:\r\n\r\n```scala\r\ncase class A(s: String)\r\ndata: A = A(\"a\")\r\nPickle.intoBytes(data)\r\n```\r\n\r\nwill fail with this error message:\r\n```scala\r\ntype mismatch;\r\n[error]  found   : Some[A]\r\n[error]  required: Option[Int]\r\n[error]  Pickle.intoBytes(data)\r\n```\r\n\r\nI believe the macro generated by boopickle might contains code that cannot pass through `\"-Xstrict-inference\"`. "},"comment":{"url":"https://api.github.com/repos/ochrons/boopickle/issues/comments/113989533","html_url":"https://github.com/ochrons/boopickle/issues/17#issuecomment-113989533","issue_url":"https://api.github.com/repos/ochrons/boopickle/issues/17","id":113989533,"user":{"login":"ngbinh","id":211327,"avatar_url":"https://avatars.githubusercontent.com/u/211327?v=3","gravatar_id":"","url":"https://api.github.com/users/ngbinh","html_url":"https://github.com/ngbinh","followers_url":"https://api.github.com/users/ngbinh/followers","following_url":"https://api.github.com/users/ngbinh/following{/other_user}","gists_url":"https://api.github.com/users/ngbinh/gists{/gist_id}","starred_url":"https://api.github.com/users/ngbinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngbinh/subscriptions","organizations_url":"https://api.github.com/users/ngbinh/orgs","repos_url":"https://api.github.com/users/ngbinh/repos","events_url":"https://api.github.com/users/ngbinh/events{/privacy}","received_events_url":"https://api.github.com/users/ngbinh/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T03:06:42Z","updated_at":"2015-06-22T03:06:42Z","body":"I could work on a PR for this but I am not sure if this is the approach you'd like to take."}}