{"action":"created","issue":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/323","labels_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/323/comments","events_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/323/events","html_url":"https://github.com/gopherjs/gopherjs/issues/323","id":110800867,"number":323,"title":"Functions as map key recently broken","user":{"login":"flimzy","id":8555063,"avatar_url":"https://avatars.githubusercontent.com/u/8555063?v=3","gravatar_id":"","url":"https://api.github.com/users/flimzy","html_url":"https://github.com/flimzy","followers_url":"https://api.github.com/users/flimzy/followers","following_url":"https://api.github.com/users/flimzy/following{/other_user}","gists_url":"https://api.github.com/users/flimzy/gists{/gist_id}","starred_url":"https://api.github.com/users/flimzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flimzy/subscriptions","organizations_url":"https://api.github.com/users/flimzy/orgs","repos_url":"https://api.github.com/users/flimzy/repos","events_url":"https://api.github.com/users/flimzy/events{/privacy}","received_events_url":"https://api.github.com/users/flimzy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-10T15:27:03Z","updated_at":"2015-10-10T18:31:16Z","closed_at":null,"body":"As of commit 8b46201, the jsbuiltin package test suite fails with:\r\n\r\n    --- FAIL: TestTypeOf (0.00s)\r\n\r\n    /tmp/test.587825356:1441\r\n        throw err;\r\n                ^\r\n    TypeError: Object function (v) { this.$val = v; } has no method 'keyFor'\r\n        at $ifaceKeyFor (/tmp/test.587825356:477:29)\r\n        at $makeMap (/tmp/test.587825356:1017:7)\r\n        at $packages.github.com/gopherjs/jsbuiltin.TestTypeOf [as F] (/tmp/test.587825356:21400:10)\r\n        at $packages.testing.tRunner (/tmp/test.587825356:20644:13)\r\n        at $goroutine (/tmp/test.587825356:1431:19)\r\n        at $runScheduled [as _onTimeout] (/tmp/test.587825356:1469:7)\r\n        at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)\r\n    FAIL    github.com/gopherjs/jsbuiltin   0.214s\r\n\r\nI haven't investigated further yet."},"comment":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/comments/147114841","html_url":"https://github.com/gopherjs/gopherjs/issues/323#issuecomment-147114841","issue_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/323","id":147114841,"user":{"login":"flimzy","id":8555063,"avatar_url":"https://avatars.githubusercontent.com/u/8555063?v=3","gravatar_id":"","url":"https://api.github.com/users/flimzy","html_url":"https://github.com/flimzy","followers_url":"https://api.github.com/users/flimzy/followers","following_url":"https://api.github.com/users/flimzy/following{/other_user}","gists_url":"https://api.github.com/users/flimzy/gists{/gist_id}","starred_url":"https://api.github.com/users/flimzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flimzy/subscriptions","organizations_url":"https://api.github.com/users/flimzy/orgs","repos_url":"https://api.github.com/users/flimzy/repos","events_url":"https://api.github.com/users/flimzy/events{/privacy}","received_events_url":"https://api.github.com/users/flimzy/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T18:31:16Z","updated_at":"2015-10-10T18:31:16Z","body":"That's good to know. I will refactor the test to not depend on that functionality.\r\n\r\nDoes the Go spec say anything about using an array as a map key? Or can that be inferred from the lack of slice support?"}}