{"action":"closed","issue":{"url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/575","repository_url":"https://api.github.com/repos/TuringLang/Turing.jl","labels_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/575/labels{/name}","comments_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/575/comments","events_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/575/events","html_url":"https://github.com/TuringLang/Turing.jl/issues/575","id":367446933,"node_id":"MDU6SXNzdWUzNjc0NDY5MzM=","number":575,"title":"Add assertions to compiler","user":{"login":"trappmartin","id":7974003,"node_id":"MDQ6VXNlcjc5NzQwMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/7974003?v=4","gravatar_id":"","url":"https://api.github.com/users/trappmartin","html_url":"https://github.com/trappmartin","followers_url":"https://api.github.com/users/trappmartin/followers","following_url":"https://api.github.com/users/trappmartin/following{/other_user}","gists_url":"https://api.github.com/users/trappmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/trappmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trappmartin/subscriptions","organizations_url":"https://api.github.com/users/trappmartin/orgs","repos_url":"https://api.github.com/users/trappmartin/repos","events_url":"https://api.github.com/users/trappmartin/events{/privacy}","received_events_url":"https://api.github.com/users/trappmartin/received_events","type":"User","site_admin":false},"labels":[{"id":1057069269,"node_id":"MDU6TGFiZWwxMDU3MDY5MjY5","url":"https://api.github.com/repos/TuringLang/Turing.jl/labels/compiler","name":"compiler","color":"e5c55e","default":false}],"state":"closed","locked":false,"assignee":{"login":"trappmartin","id":7974003,"node_id":"MDQ6VXNlcjc5NzQwMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/7974003?v=4","gravatar_id":"","url":"https://api.github.com/users/trappmartin","html_url":"https://github.com/trappmartin","followers_url":"https://api.github.com/users/trappmartin/followers","following_url":"https://api.github.com/users/trappmartin/following{/other_user}","gists_url":"https://api.github.com/users/trappmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/trappmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trappmartin/subscriptions","organizations_url":"https://api.github.com/users/trappmartin/orgs","repos_url":"https://api.github.com/users/trappmartin/repos","events_url":"https://api.github.com/users/trappmartin/events{/privacy}","received_events_url":"https://api.github.com/users/trappmartin/received_events","type":"User","site_admin":false},"assignees":[{"login":"trappmartin","id":7974003,"node_id":"MDQ6VXNlcjc5NzQwMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/7974003?v=4","gravatar_id":"","url":"https://api.github.com/users/trappmartin","html_url":"https://github.com/trappmartin","followers_url":"https://api.github.com/users/trappmartin/followers","following_url":"https://api.github.com/users/trappmartin/following{/other_user}","gists_url":"https://api.github.com/users/trappmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/trappmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trappmartin/subscriptions","organizations_url":"https://api.github.com/users/trappmartin/orgs","repos_url":"https://api.github.com/users/trappmartin/repos","events_url":"https://api.github.com/users/trappmartin/events{/privacy}","received_events_url":"https://api.github.com/users/trappmartin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-06T11:00:11Z","updated_at":"2018-11-23T16:48:41Z","closed_at":"2018-11-23T16:48:40Z","author_association":"COLLABORATOR","body":"We should add assertions to the compiler code to be able to throw useful errors in case of errors in the model definition.\r\n\r\n- Add assertion if right-hand side of ~ is not a distribution or vector of distributions.\r\n- ~Add assertion if right-hand side of = is a distribution.~ <- Note sure this would be a problem."}}
{"actor":{"display_login":"trappmartin"}}