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:
parent
7436519c80
commit
0d1723da41
1 changed files with 3 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Reference in a new issue