{"action":"opened","issue":{"url":"https://api.github.com/repos/p4lang/p4c/issues/386","repository_url":"https://api.github.com/repos/p4lang/p4c","labels_url":"https://api.github.com/repos/p4lang/p4c/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/p4lang/p4c/issues/386/comments","events_url":"https://api.github.com/repos/p4lang/p4c/issues/386/events","html_url":"https://github.com/p4lang/p4c/issues/386","id":216251021,"number":386,"title":"Inlining pass renames objects","user":{"login":"antoninbas","id":2495809,"avatar_url":"https://avatars2.githubusercontent.com/u/2495809?v=3","gravatar_id":"","url":"https://api.github.com/users/antoninbas","html_url":"https://github.com/antoninbas","followers_url":"https://api.github.com/users/antoninbas/followers","following_url":"https://api.github.com/users/antoninbas/following{/other_user}","gists_url":"https://api.github.com/users/antoninbas/gists{/gist_id}","starred_url":"https://api.github.com/users/antoninbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoninbas/subscriptions","organizations_url":"https://api.github.com/users/antoninbas/orgs","repos_url":"https://api.github.com/users/antoninbas/repos","events_url":"https://api.github.com/users/antoninbas/events{/privacy}","received_events_url":"https://api.github.com/users/antoninbas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-23T00:41:47Z","updated_at":"2017-03-23T00:41:47Z","closed_at":null,"body":"Hi,\r\n\r\nI have the following P4_14 program:\r\n```\r\nparser start { return ingress; }\r\n\r\naction a(p) { modify_field(standard_metadata.egress_spec, p); }\r\n\r\ntable t { actions { a; } }\r\n\r\ncontrol c1 { apply(t); }\r\n\r\ncontrol ingress { c1(); }\r\n```\r\n\r\nAfter the Inline pass in the midend, the name for my action becomes `c1.a`. Is there a way to keep the name as `a` for the control plane's sake.\r\nI don't think such an issue can arise with P4_16..."}}
{"actor":{"display_login":"antoninbas"}}