1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fix bug 74306

This commit is contained in:
Andrew Niefer 2005-07-06 22:03:26 +00:00
parent 7436519c80
commit 0d1723da41

View file

@ -1881,7 +1881,9 @@ public class CPPSemantics {
if( type == null ){
type = temp;
} else if( (temp instanceof ICPPDelegate && ((ICPPDelegate)temp).getBinding() == type) ||
(type instanceof ICPPDelegate && ((ICPPDelegate)type).getBinding() == temp) )
(type instanceof ICPPDelegate && ((ICPPDelegate)type).getBinding() == temp) ||
(type instanceof ICPPDelegate && temp instanceof ICPPDelegate &&
((ICPPDelegate)type).getBinding() == ((ICPPDelegate)temp).getBinding()) )
{
//ok, delegates are synonyms
} else if( type instanceof ICPPClassTemplate && temp instanceof ICPPSpecialization &&