{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d1588981e0248aaa0174906c99df180e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d1588981e0248aaa0174906c99df180e","url":"https://api.github.com/users/petdance","login":"petdance","id":41100},"updated_at":"2011-11-01T05:35:07Z","labels":[{"name":"bug","color":"AF3AC4","url":"https://api.github.com/repos/petdance/scratch/labels/bug"},{"name":"nqp","color":"3F779E","url":"https://api.github.com/repos/petdance/scratch/labels/nqp"},{"name":"Pri-normal","color":"5B4E39","url":"https://api.github.com/repos/petdance/scratch/labels/Pri-normal"},{"name":"Sev-medium","color":"F9ECA1","url":"https://api.github.com/repos/petdance/scratch/labels/Sev-medium"}],"assignee":null,"comments":0,"closed_at":null,"url":"https://api.github.com/repos/petdance/scratch/issues/545","body":"This code:\r\n{{{\r\nmodule Z;\r\nour $Global;\r\nsub zzz() {\r\n        unless $Global {\r\n                say(\"Not set\");\r\n        }\r\n}\r\nINIT {\r\n        zzz();\r\n}\r\n\r\nmodule A;\r\n\r\nsub aaa() {\r\n\tour $G2;\r\n\r\n\tunless $G2 {\r\n\t\tsay(\"Not set\");\r\n\t}\r\n}\r\n}}}\r\n\r\ngenerates:\r\n{{{\r\n    get_global $P21, \"$Global\"\r\n    unless $P21, unless_20\r\n}}}\r\n\r\nfor the access code in `sub zzz`. There is no guard for null. But in the access code in `sub aaa` there is this:\r\n{{{\r\n    get_global $P31, \"$G2\"\r\n    unless_null $P31, vivify_17\r\n}}}\r\nApparently the scope isn't being looked up correctly, or something?\r\n\r\nTrac ID #1308","html_url":"https://github.com/petdance/scratch/issues/545","title":"NQPrx does not vivify globals in all cases","number":545,"id":2106232,"created_at":"2011-11-01T05:35:07Z"},"action":"opened"}