chk.checkCompatibleSupertypes(tree.pos(), c.type);
chk.checkCompatibleSupertypes(tree.pos(), c.type);
chk.checkCompatibleSupertypes(tree.pos(), c.type); if (allowDefaultMethods) { chk.checkDefaultMethodClashes(tree.pos(), c.type);
chk.checkCompatibleSupertypes(tree.pos(), c.type); if (allowDefaultMethods) { chk.checkDefaultMethodClashes(tree.pos(), c.type);