{"action":"closed","issue":{"url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2729","repository_url":"https://api.github.com/repos/varnishcache/varnish-cache","labels_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2729/labels{/name}","comments_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2729/comments","events_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2729/events","html_url":"https://github.com/varnishcache/varnish-cache/issues/2729","id":340591540,"node_id":"MDU6SXNzdWUzNDA1OTE1NDA=","number":2729,"title":"vcc bool regression","user":{"login":"nigoroll","id":1528104,"node_id":"MDQ6VXNlcjE1MjgxMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1528104?v=4","gravatar_id":"","url":"https://api.github.com/users/nigoroll","html_url":"https://github.com/nigoroll","followers_url":"https://api.github.com/users/nigoroll/followers","following_url":"https://api.github.com/users/nigoroll/following{/other_user}","gists_url":"https://api.github.com/users/nigoroll/gists{/gist_id}","starred_url":"https://api.github.com/users/nigoroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigoroll/subscriptions","organizations_url":"https://api.github.com/users/nigoroll/orgs","repos_url":"https://api.github.com/users/nigoroll/repos","events_url":"https://api.github.com/users/nigoroll/events{/privacy}","received_events_url":"https://api.github.com/users/nigoroll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"bsdphk","id":567236,"node_id":"MDQ6VXNlcjU2NzIzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/567236?v=4","gravatar_id":"","url":"https://api.github.com/users/bsdphk","html_url":"https://github.com/bsdphk","followers_url":"https://api.github.com/users/bsdphk/followers","following_url":"https://api.github.com/users/bsdphk/following{/other_user}","gists_url":"https://api.github.com/users/bsdphk/gists{/gist_id}","starred_url":"https://api.github.com/users/bsdphk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsdphk/subscriptions","organizations_url":"https://api.github.com/users/bsdphk/orgs","repos_url":"https://api.github.com/users/bsdphk/repos","events_url":"https://api.github.com/users/bsdphk/events{/privacy}","received_events_url":"https://api.github.com/users/bsdphk/received_events","type":"User","site_admin":false},"assignees":[{"login":"bsdphk","id":567236,"node_id":"MDQ6VXNlcjU2NzIzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/567236?v=4","gravatar_id":"","url":"https://api.github.com/users/bsdphk","html_url":"https://github.com/bsdphk","followers_url":"https://api.github.com/users/bsdphk/followers","following_url":"https://api.github.com/users/bsdphk/following{/other_user}","gists_url":"https://api.github.com/users/bsdphk/gists{/gist_id}","starred_url":"https://api.github.com/users/bsdphk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsdphk/subscriptions","organizations_url":"https://api.github.com/users/bsdphk/orgs","repos_url":"https://api.github.com/users/bsdphk/repos","events_url":"https://api.github.com/users/bsdphk/events{/privacy}","received_events_url":"https://api.github.com/users/bsdphk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-12T11:05:59Z","updated_at":"2018-08-06T16:01:00Z","closed_at":"2018-08-06T16:01:00Z","author_association":"CONTRIBUTOR","body":"regression from 47dc5fd732eddff135d7c75672f2d3e28f324705\r\n\r\nRef #2727\r\n\r\nwith the following vcl (note that semantically this is complete nonsense):\r\n\r\n```\r\nvcl 4.1;\r\n\r\nbackend t {\r\n\t.host = \"127.0.0.1\";\r\n}\r\nsub vcl_recv {\r\n\tif (req.grace < 0s || req.grace < 1s && req.grace < 2s) {\r\n\t\treturn (synth(200));\r\n\t}\r\n}\r\n```\r\n\r\n\r\nwe get:\r\n\r\n```\r\nMessage from VCC-compiler:\r\nExpected ')' got '&&'\r\n(program line 68), at\r\n('/tmp/t.vcl' Line 7 Pos 46)\r\n        if (req.grace < 0s || req.grace < 1s && req.grace < 2s) {\r\n---------------------------------------------##------------------\r\n\r\nRunning VCC-compiler failed, exited with 2\r\nVCL compilation failed\r\n\r\n```"}}
{"actor":{"display_login":"bsdphk"}}