id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
1308,NQPrx does not vivify globals in all cases,Austin_Hastings,pmichaud,"This code:
{{{
module Z;
our $Global;
sub zzz() {
        unless $Global {
                say(""Not set"");
        }
}
INIT {
        zzz();
}

module A;

sub aaa() {
	our $G2;

	unless $G2 {
		say(""Not set"");
	}
}
}}}

generates:
{{{
    get_global $P21, ""$Global""
    unless $P21, unless_20
}}}

for the access code in `sub zzz`. There is no guard for null. But in the access code in `sub aaa` there is this:
{{{
    get_global $P31, ""$G2""
    unless_null $P31, vivify_17
}}}
Apparently the scope isn't being looked up correctly, or something?
",bug,new,normal,,nqp,1.8.0,medium,,,,,,
