When an inner class makes an unqualified reference to a
static final field which comes from an interface which the
outer class implements, pizza issues suspicious error
message.
test code:
interface testInterface {
static final int tiFOO = 5;
}
public final class test
implements
testInterface {
static final int BAR = 6;
public final class inner {
int testInnerInh() {
return tiFOO;
}
int testInner() {
return BAR;
}
}
}
error:
[pizzac] Suspicious error message --
[pizzac] there might be something wrong with the
Pizza->Java translation.
[pizzac] Please file a bug report at Sourceforge.net:
[pizzac]
http://sourceforge.net/tracker/?group_id=31504&atid=402238
[pizzac] Thank you.
[pizzac] test.java:13: variable tiFOO not found in
class test.inner
[pizzac] return tiFOO;
[pizzac] ^