{"action":"closed","issue":{"url":"https://api.github.com/repos/red/red/issues/2847","repository_url":"https://api.github.com/repos/red/red","labels_url":"https://api.github.com/repos/red/red/issues/2847/labels{/name}","comments_url":"https://api.github.com/repos/red/red/issues/2847/comments","events_url":"https://api.github.com/repos/red/red/issues/2847/events","html_url":"https://github.com/red/red/issues/2847","id":240178512,"number":2847,"title":"WISH: #include macros defined in separate file","user":{"login":"9214","id":15716466,"avatar_url":"https://avatars1.githubusercontent.com/u/15716466?v=3","gravatar_id":"","url":"https://api.github.com/users/9214","html_url":"https://github.com/9214","followers_url":"https://api.github.com/users/9214/followers","following_url":"https://api.github.com/users/9214/following{/other_user}","gists_url":"https://api.github.com/users/9214/gists{/gist_id}","starred_url":"https://api.github.com/users/9214/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9214/subscriptions","organizations_url":"https://api.github.com/users/9214/orgs","repos_url":"https://api.github.com/users/9214/repos","events_url":"https://api.github.com/users/9214/events{/privacy}","received_events_url":"https://api.github.com/users/9214/received_events","type":"User","site_admin":false},"labels":[{"id":88065,"url":"https://api.github.com/repos/red/red/labels/status.built","name":"status.built","color":"d4ffdd","default":false},{"id":88066,"url":"https://api.github.com/repos/red/red/labels/status.tested","name":"status.tested","color":"94c2a0","default":false},{"id":166838,"url":"https://api.github.com/repos/red/red/labels/type.review","name":"type.review","color":"FF8C00","default":false}],"state":"closed","locked":false,"assignee":{"login":"dockimbel","id":411393,"avatar_url":"https://avatars2.githubusercontent.com/u/411393?v=3","gravatar_id":"","url":"https://api.github.com/users/dockimbel","html_url":"https://github.com/dockimbel","followers_url":"https://api.github.com/users/dockimbel/followers","following_url":"https://api.github.com/users/dockimbel/following{/other_user}","gists_url":"https://api.github.com/users/dockimbel/gists{/gist_id}","starred_url":"https://api.github.com/users/dockimbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockimbel/subscriptions","organizations_url":"https://api.github.com/users/dockimbel/orgs","repos_url":"https://api.github.com/users/dockimbel/repos","events_url":"https://api.github.com/users/dockimbel/events{/privacy}","received_events_url":"https://api.github.com/users/dockimbel/received_events","type":"User","site_admin":false},"assignees":[{"login":"dockimbel","id":411393,"avatar_url":"https://avatars2.githubusercontent.com/u/411393?v=3","gravatar_id":"","url":"https://api.github.com/users/dockimbel","html_url":"https://github.com/dockimbel","followers_url":"https://api.github.com/users/dockimbel/followers","following_url":"https://api.github.com/users/dockimbel/following{/other_user}","gists_url":"https://api.github.com/users/dockimbel/gists{/gist_id}","starred_url":"https://api.github.com/users/dockimbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockimbel/subscriptions","organizations_url":"https://api.github.com/users/dockimbel/orgs","repos_url":"https://api.github.com/users/dockimbel/repos","events_url":"https://api.github.com/users/dockimbel/events{/privacy}","received_events_url":"https://api.github.com/users/dockimbel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/red/red/milestones/23","html_url":"https://github.com/red/red/milestone/23","labels_url":"https://api.github.com/repos/red/red/milestones/23/labels","id":2315594,"number":23,"title":"0.6.3","description":"","creator":{"login":"dockimbel","id":411393,"avatar_url":"https://avatars2.githubusercontent.com/u/411393?v=3","gravatar_id":"","url":"https://api.github.com/users/dockimbel","html_url":"https://github.com/dockimbel","followers_url":"https://api.github.com/users/dockimbel/followers","following_url":"https://api.github.com/users/dockimbel/following{/other_user}","gists_url":"https://api.github.com/users/dockimbel/gists{/gist_id}","starred_url":"https://api.github.com/users/dockimbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockimbel/subscriptions","organizations_url":"https://api.github.com/users/dockimbel/orgs","repos_url":"https://api.github.com/users/dockimbel/repos","events_url":"https://api.github.com/users/dockimbel/events{/privacy}","received_events_url":"https://api.github.com/users/dockimbel/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":83,"state":"open","created_at":"2017-02-11T09:01:09Z","updated_at":"2017-07-04T08:27:52Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-07-03T13:48:40Z","updated_at":"2017-07-04T08:27:52Z","closed_at":"2017-07-04T08:27:52Z","body":"File `%macros.red`:\r\n```Red\r\nRed []\r\n\r\n#macro [@answer] func [s e] [42]\r\n```\r\n\r\nFile `%main.red`:\r\n```Red\r\nRed []\r\n\r\n#include %macros.red\r\n\r\nprobe @answer\r\n```\r\n\r\nEvaluating `%main.red` gives `@answer`, but I wish it to be `42`. In my understanding `#include` expands all macro directives (and deletes them with all macro calls) before actual inclusion."}}
{"actor":{"display_login":"dockimbel"}}