{"action":"closed","issue":{"url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2084","repository_url":"https://api.github.com/repos/varnishcache/varnish-cache","labels_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2084/labels{/name}","comments_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2084/comments","events_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2084/events","html_url":"https://github.com/varnishcache/varnish-cache/issues/2084","id":175813326,"number":2084,"title":"REAL <op> INT from vmod support incomplete","user":{"login":"nigoroll","id":1528104,"avatar_url":"https://avatars.githubusercontent.com/u/1528104?v=3","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":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-08T17:27:20Z","updated_at":"2016-09-09T08:58:52Z","closed_at":"2016-09-09T08:58:52Z","body":"* `set resp.http.add = 1.0 + std.integer(req.http.foo, 0);`\r\n\r\naccepted by vcc, but result is a stringification\r\n\r\n* `set resp.http.sub = 1.0 - std.integer(req.http.foo, 0);`\r\n\r\ngives `REAL - INT not possible`\r\n\r\n* `set resp.http.mul = 1.0 * std.integer(req.http.foo, 0);` and\r\n* `set resp.http.mul = 1.0 / std.integer(req.http.foo, 0);`\r\n\r\ngive vcc assertion failure:\r\n```\r\nAssert error in vcc_expr_mul(), vcc_expr.c line 919:\r\n  Condition(e2->fmt == f2) not true.\r\n```"}}
{"actor":{"display_login":"bsdphk"}}