7000973: isBogus needs to be called on the to-be-returned entry, not on the current entry
Reviewed-by: jjg
This commit is contained in:
parent
4ae2fc83cf
commit
220f3b1c1b
@ -528,7 +528,7 @@ public class Scope {
|
|||||||
}
|
}
|
||||||
public Entry next() {
|
public Entry next() {
|
||||||
Entry e = super.shadowed;
|
Entry e = super.shadowed;
|
||||||
while (isBogus())
|
while (e.isBogus())
|
||||||
e = e.shadowed;
|
e = e.shadowed;
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user