{"action":"opened","issue":{"url":"https://api.github.com/repos/dylan-lang/opendylan/issues/903","labels_url":"https://api.github.com/repos/dylan-lang/opendylan/issues/903/labels{/name}","comments_url":"https://api.github.com/repos/dylan-lang/opendylan/issues/903/comments","events_url":"https://api.github.com/repos/dylan-lang/opendylan/issues/903/events","html_url":"https://github.com/dylan-lang/opendylan/issues/903","id":76300522,"number":903,"title":"Warnings and print-message / print-object","user":{"login":"waywardmonkeys","id":178582,"avatar_url":"https://avatars.githubusercontent.com/u/178582?v=3","gravatar_id":"","url":"https://api.github.com/users/waywardmonkeys","html_url":"https://github.com/waywardmonkeys","followers_url":"https://api.github.com/users/waywardmonkeys/followers","following_url":"https://api.github.com/users/waywardmonkeys/following{/other_user}","gists_url":"https://api.github.com/users/waywardmonkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/waywardmonkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waywardmonkeys/subscriptions","organizations_url":"https://api.github.com/users/waywardmonkeys/orgs","repos_url":"https://api.github.com/users/waywardmonkeys/repos","events_url":"https://api.github.com/users/waywardmonkeys/events{/privacy}","received_events_url":"https://api.github.com/users/waywardmonkeys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-14T09:37:29Z","updated_at":"2015-05-14T09:37:29Z","closed_at":null,"body":"This is an example of where warnings might need a custom generic to handle printing objects:\r\n\r\n````\r\n.../melange-core/c-decl-write-c-ffi.dylan:105: Serious warning - Invalid type for argument stream in call to\r\n   write (stream :: <stream>, elements :: <sequence>) => ():  singleton(\"  pointer-type-name: %s;\r\n\" :: <byte-string>) supplied, <stream> expected.\r\n````\r\n\r\nNote that it didn't show the ``\\n`` escaped in the string but had expanded it.\r\n"}}