{"issue":{"state":"open","created_at":"2011-11-30T01:33:21Z","updated_at":"2011-11-30T01:33:21Z","comments":0,"user":{"gravatar_id":"8672f1c3b11cc7390ec341ac25d7e88e","id":579974,"url":"https://api.github.com/users/gavinking","avatar_url":"https://secure.gravatar.com/avatar/8672f1c3b11cc7390ec341ac25d7e88e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"gavinking"},"body":"This code:\r\n\r\n    value ch = \"hello\"[0];\r\n\r\ncauses the error:\r\n\r\n    /Users/gavin/ceylon.language/test/strings.ceylon:7: cannot find symbol\r\n    symbol  : method item(ceylon.language.Natural)\r\n    location: class java.lang.String\r\n        value ch = \"hello\"[0];\r\n\r\nbecause we fail to box the string:\r\n\r\n    final ceylon.language.Character ch = \"hello\".item(.ceylon.language.Natural.instance(0L));","assignee":null,"id":2396200,"labels":[{"name":"BUG","color":"e10c02","url":"https://api.github.com/repos/ceylon/ceylon-compiler/labels/BUG"},{"name":"high priority","color":"d7e102","url":"https://api.github.com/repos/ceylon/ceylon-compiler/labels/high+priority"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":249,"title":"Index operator [i] broken for strings","closed_at":null,"html_url":"https://github.com/ceylon/ceylon-compiler/issues/249","url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/249","milestone":null},"action":"opened"}