{"action":"opened","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1068","labels_url":"https://api.github.com/repos/opal/opal/issues/1068/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1068/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1068/events","html_url":"https://github.com/opal/opal/issues/1068","id":101795378,"number":1068,"title":"if to_s does not return a string, things blow up","user":{"login":"catmando","id":63146,"avatar_url":"https://avatars.githubusercontent.com/u/63146?v=3","gravatar_id":"","url":"https://api.github.com/users/catmando","html_url":"https://github.com/catmando","followers_url":"https://api.github.com/users/catmando/followers","following_url":"https://api.github.com/users/catmando/following{/other_user}","gists_url":"https://api.github.com/users/catmando/gists{/gist_id}","starred_url":"https://api.github.com/users/catmando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catmando/subscriptions","organizations_url":"https://api.github.com/users/catmando/orgs","repos_url":"https://api.github.com/users/catmando/repos","events_url":"https://api.github.com/users/catmando/events{/privacy}","received_events_url":"https://api.github.com/users/catmando/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-19T02:51:27Z","updated_at":"2015-08-19T02:51:27Z","closed_at":null,"body":"```ruby\r\n\r\nclass Foo < String\r\nend\r\n\r\nclass Bar \r\n  def to_s\r\n    Foo.new\r\n  end\r\nend\r\n\r\nputs \"abc#{Bar.new}def\"\r\n\r\n```\r\n\r\ndies with\r\n\r\n`TypeError: Cannot convert object to primitive value`\r\n"}}