{"action":"created","issue":{"url":"https://api.github.com/repos/alehander42/nim-quicktest/issues/3","repository_url":"https://api.github.com/repos/alehander42/nim-quicktest","labels_url":"https://api.github.com/repos/alehander42/nim-quicktest/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/alehander42/nim-quicktest/issues/3/comments","events_url":"https://api.github.com/repos/alehander42/nim-quicktest/issues/3/events","html_url":"https://github.com/alehander42/nim-quicktest/issues/3","id":317239960,"number":3,"title":"Quicktest doesn't display the bad input in some cases","user":{"login":"mratsim","id":22738317,"avatar_url":"https://avatars3.githubusercontent.com/u/22738317?v=4","gravatar_id":"","url":"https://api.github.com/users/mratsim","html_url":"https://github.com/mratsim","followers_url":"https://api.github.com/users/mratsim/followers","following_url":"https://api.github.com/users/mratsim/following{/other_user}","gists_url":"https://api.github.com/users/mratsim/gists{/gist_id}","starred_url":"https://api.github.com/users/mratsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mratsim/subscriptions","organizations_url":"https://api.github.com/users/mratsim/orgs","repos_url":"https://api.github.com/users/mratsim/repos","events_url":"https://api.github.com/users/mratsim/events{/privacy}","received_events_url":"https://api.github.com/users/mratsim/received_events","type":"User","site_admin":false},"labels":[{"id":704631970,"url":"https://api.github.com/repos/alehander42/nim-quicktest/labels/bug","name":"bug","color":"ee0701","default":true},{"id":704631974,"url":"https://api.github.com/repos/alehander42/nim-quicktest/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"closed","locked":false,"assignee":{"login":"alehander42","id":830715,"avatar_url":"https://avatars1.githubusercontent.com/u/830715?v=4","gravatar_id":"","url":"https://api.github.com/users/alehander42","html_url":"https://github.com/alehander42","followers_url":"https://api.github.com/users/alehander42/followers","following_url":"https://api.github.com/users/alehander42/following{/other_user}","gists_url":"https://api.github.com/users/alehander42/gists{/gist_id}","starred_url":"https://api.github.com/users/alehander42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alehander42/subscriptions","organizations_url":"https://api.github.com/users/alehander42/orgs","repos_url":"https://api.github.com/users/alehander42/repos","events_url":"https://api.github.com/users/alehander42/events{/privacy}","received_events_url":"https://api.github.com/users/alehander42/received_events","type":"User","site_admin":false},"assignees":[{"login":"alehander42","id":830715,"avatar_url":"https://avatars1.githubusercontent.com/u/830715?v=4","gravatar_id":"","url":"https://api.github.com/users/alehander42","html_url":"https://github.com/alehander42","followers_url":"https://api.github.com/users/alehander42/followers","following_url":"https://api.github.com/users/alehander42/following{/other_user}","gists_url":"https://api.github.com/users/alehander42/gists{/gist_id}","starred_url":"https://api.github.com/users/alehander42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alehander42/subscriptions","organizations_url":"https://api.github.com/users/alehander42/orgs","repos_url":"https://api.github.com/users/alehander42/repos","events_url":"https://api.github.com/users/alehander42/events{/privacy}","received_events_url":"https://api.github.com/users/alehander42/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-24T13:59:29Z","updated_at":"2018-04-25T06:49:58Z","closed_at":"2018-04-25T06:49:08Z","author_association":"NONE","body":"I think it maybe because they are on the same side of the `==` sign\r\n\r\n```Nim\r\nsuite \"Foo\":\r\n  let hi = 1'u shl (sizeof(uint)*7)\r\n  quicktest \"`or`\", 10_000 do(x: uint(min=0, max=hi), y: uint(min=0, max=hi)):\r\n    check(0'u == (x or y))\r\n```\r\n\r\n_This works though:_\r\n```Nim\r\n    let z = (x or y)\r\n    check(0'u == z)\r\n```\r\n\r\nActually no, it displays the z value not the x and y value.\r\n    `check(x == y)`\r\nwould display something however\r\n"},"comment":{"url":"https://api.github.com/repos/alehander42/nim-quicktest/issues/comments/384178762","html_url":"https://github.com/alehander42/nim-quicktest/issues/3#issuecomment-384178762","issue_url":"https://api.github.com/repos/alehander42/nim-quicktest/issues/3","id":384178762,"user":{"login":"alehander42","id":830715,"avatar_url":"https://avatars1.githubusercontent.com/u/830715?v=4","gravatar_id":"","url":"https://api.github.com/users/alehander42","html_url":"https://github.com/alehander42","followers_url":"https://api.github.com/users/alehander42/followers","following_url":"https://api.github.com/users/alehander42/following{/other_user}","gists_url":"https://api.github.com/users/alehander42/gists{/gist_id}","starred_url":"https://api.github.com/users/alehander42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alehander42/subscriptions","organizations_url":"https://api.github.com/users/alehander42/orgs","repos_url":"https://api.github.com/users/alehander42/repos","events_url":"https://api.github.com/users/alehander42/events{/privacy}","received_events_url":"https://api.github.com/users/alehander42/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T06:49:58Z","updated_at":"2018-04-25T06:49:58Z","author_association":"OWNER","body":"Now you should always see your generated variables on error"}}
{"actor":{"display_login":"alehander42"}}