{"action":"created","issue":{"url":"https://api.github.com/repos/lihaoyi/upickle-pprint/issues/94","labels_url":"https://api.github.com/repos/lihaoyi/upickle-pprint/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/lihaoyi/upickle-pprint/issues/94/comments","events_url":"https://api.github.com/repos/lihaoyi/upickle-pprint/issues/94/events","html_url":"https://github.com/lihaoyi/upickle-pprint/issues/94","id":94115128,"number":94,"title":"Reading and writing case classes that use a Seq[UUID] fail to compile","user":{"login":"Technius","id":1066652,"avatar_url":"https://avatars.githubusercontent.com/u/1066652?v=3","gravatar_id":"","url":"https://api.github.com/users/Technius","html_url":"https://github.com/Technius","followers_url":"https://api.github.com/users/Technius/followers","following_url":"https://api.github.com/users/Technius/following{/other_user}","gists_url":"https://api.github.com/users/Technius/gists{/gist_id}","starred_url":"https://api.github.com/users/Technius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Technius/subscriptions","organizations_url":"https://api.github.com/users/Technius/orgs","repos_url":"https://api.github.com/users/Technius/repos","events_url":"https://api.github.com/users/Technius/events{/privacy}","received_events_url":"https://api.github.com/users/Technius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-09T18:08:22Z","updated_at":"2015-07-10T16:24:22Z","closed_at":"2015-07-10T16:24:22Z","body":"This code:\r\n```scala\r\nimport upickle.default._\r\nimport java.util.UUID\r\n \r\ncase class Example(ids: Seq[UUID])\r\n \r\nval myExample = Example(Seq(UUID.randomUUID()))\r\nwrite(myExample)\r\n```\r\nfails to compile with the following error:\r\n```\r\nerror: [error] The referenced trait [[Seq]] must be sealed.\r\n      write(myExample)\r\n```\r\nUsing `read` fails similarly. There's no issue with writing a `Seq[UUID]` not in a case class, though.\r\n\r\n~~**Edit**:\r\nMy \"workaround\" was actually using 0.2.8. The error still applies in 0.3.0.~~\r\n"},"comment":{"url":"https://api.github.com/repos/lihaoyi/upickle-pprint/issues/comments/120450881","html_url":"https://github.com/lihaoyi/upickle-pprint/issues/94#issuecomment-120450881","issue_url":"https://api.github.com/repos/lihaoyi/upickle-pprint/issues/94","id":120450881,"user":{"login":"lihaoyi","id":934140,"avatar_url":"https://avatars.githubusercontent.com/u/934140?v=3","gravatar_id":"","url":"https://api.github.com/users/lihaoyi","html_url":"https://github.com/lihaoyi","followers_url":"https://api.github.com/users/lihaoyi/followers","following_url":"https://api.github.com/users/lihaoyi/following{/other_user}","gists_url":"https://api.github.com/users/lihaoyi/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaoyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaoyi/subscriptions","organizations_url":"https://api.github.com/users/lihaoyi/orgs","repos_url":"https://api.github.com/users/lihaoyi/repos","events_url":"https://api.github.com/users/lihaoyi/events{/privacy}","received_events_url":"https://api.github.com/users/lihaoyi/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T16:24:22Z","updated_at":"2015-07-10T16:24:22Z","body":"9d2b6b81de20e3dcda65f702ff33d85d7122c3f2"}}