This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Compiler inconsistency
- To: java at gcc dot gnu dot org
- Subject: Compiler inconsistency
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Mon, 05 Feb 2001 13:19:31 +1300
I just noticed something rather annoying in class.c. We have:
/* Return true iff TYPE2 is an interface that extends interface TYPE1
*/
int interface_of_p (type1, type2)
and:
/* Return true iff TYPE1 inherits from TYPE2. */
int inherits_from_p (type1, type2)
The order of the arguments is different! Ugh.
regards
[ bryce ]