{"action":"opened","issue":{"url":"https://api.github.com/repos/varnishcache/testrepo2/issues/25","labels_url":"https://api.github.com/repos/varnishcache/testrepo2/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/varnishcache/testrepo2/issues/25/comments","events_url":"https://api.github.com/repos/varnishcache/testrepo2/issues/25/events","html_url":"https://github.com/varnishcache/testrepo2/issues/25","id":120405831,"number":25,"title":"VCL compiler: call default method at the end","user":{"login":"vcsync","id":722293,"avatar_url":"https://avatars.githubusercontent.com/u/722293?v=3","gravatar_id":"","url":"https://api.github.com/users/vcsync","html_url":"https://github.com/vcsync","followers_url":"https://api.github.com/users/vcsync/followers","following_url":"https://api.github.com/users/vcsync/following{/other_user}","gists_url":"https://api.github.com/users/vcsync/gists{/gist_id}","starred_url":"https://api.github.com/users/vcsync/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcsync/subscriptions","organizations_url":"https://api.github.com/users/vcsync/orgs","repos_url":"https://api.github.com/users/vcsync/repos","events_url":"https://api.github.com/users/vcsync/events{/privacy}","received_events_url":"https://api.github.com/users/vcsync/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T13:53:18Z","updated_at":"2015-12-04T13:53:18Z","closed_at":null,"body":"Right now if a method like vcl_recv() does not invoke an action, the function returns without setting any action, this will cause trouble.\n\nI propose to fix this by having the VCL compiler insert code such that all methods have an implicit call the the default method at the end.\n\nIf the user inserts an action before that, the call will never get hit and nothing happens.\n\nIf the user, like I have several times, just wants to do a few lines of fixup, this will make The Right Thing Happen."}}