{"action":"closed","issue":{"url":"https://api.github.com/repos/lihaoyi/upickle/issues/84","labels_url":"https://api.github.com/repos/lihaoyi/upickle/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/lihaoyi/upickle/issues/84/comments","events_url":"https://api.github.com/repos/lihaoyi/upickle/issues/84/events","html_url":"https://github.com/lihaoyi/upickle/issues/84","id":71967691,"number":84,"title":"Cannot create Js.Arr from a Seq[Js.Value]","user":{"login":"rabejens","id":8402886,"avatar_url":"https://avatars.githubusercontent.com/u/8402886?v=3","gravatar_id":"","url":"https://api.github.com/users/rabejens","html_url":"https://github.com/rabejens","followers_url":"https://api.github.com/users/rabejens/followers","following_url":"https://api.github.com/users/rabejens/following{/other_user}","gists_url":"https://api.github.com/users/rabejens/gists{/gist_id}","starred_url":"https://api.github.com/users/rabejens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabejens/subscriptions","organizations_url":"https://api.github.com/users/rabejens/orgs","repos_url":"https://api.github.com/users/rabejens/repos","events_url":"https://api.github.com/users/rabejens/events{/privacy}","received_events_url":"https://api.github.com/users/rabejens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T19:35:02Z","updated_at":"2015-06-03T06:07:25Z","closed_at":"2015-06-03T06:07:25Z","body":"To reproduce:\r\n\r\n```scala\r\nval arr = Js.Arr(Seq(Js.Str(\"a\"), Js.Str(\"b\")))\r\n```\r\n\r\nExpected: an `Arr` is created\r\nActual: Compiler error:\r\n```\r\n[error]  found   : Seq[upickle.Js.Str]\r\n[error]  required: upickle.Js.Value\r\n[error]     val arr = Js.Arr(Seq(Js.Str(\"a\"), Js.Str(\"b\")))\r\n[error]                         ^\r\n```\r\n\r\nThis happens when using Scala.js and compiling in the set console with `compile`\r\n\r\n`Js.Arr` has a varargs `apply` and Scala should auto-convert varargs to `Seq`, but it incorrectly uses the other `apply` method."}}