{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/687","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/687/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/687/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/687","id":98678441,"number":687,"title":"21527409: 'Array index out of bounds' when call `prefix` free function with empty array","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1","html_url":"https://github.com/lionheart/openradar-mirror/milestones/Developer%20Tools","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/1/labels","id":1237415,"number":1,"title":"Developer Tools","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":234,"closed_issues":0,"state":"open","created_at":"2015-08-03T02:08:29Z","updated_at":"2015-08-03T06:05:32Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-03T06:05:32Z","updated_at":"2015-08-03T06:05:32Z","closed_at":null,"body":"#### Description\n\nSummary:\n'Array index out of bounds' when call `prefix` free function with empty array\n\nSteps to Reproduce:\nCall prefix free function with empty array as a argument \n\nExpected Results:\n`prefer` function return empty array\n\nActual Results:\n`Array index out of bound` error occurs\n\nRegression:\n\n\nNotes:\nThere is no document about empty array as a argument so I think this function should return empty when use empty array as a arguments\n\n-\nProduct Version: Swift 1.2\nCreated: 2015-06-24T17:56:46.048050\nOriginated: 2015-06-25T00:56:00\nOpen Radar Link: http://www.openradar.me/21527409"}}