@@ -793,28 +793,27 @@ private Element interpretElement0(
793793) {
794794 (
795795 // Non-member functions
796- elementSpec ( namespace , type , subtypes , name , signature , _ ) and
796+ funcHasQualifiedName ( result , namespace , name ) and
797797 subtypes = false and
798798 type = "" and
799799 (
800800 elementSpecMatchesSignature ( result , namespace , type , subtypes , name , signature )
801801 or
802802 signature = "" and
803- elementSpec ( namespace , type , subtypes , name , "" , _) and
804- funcHasQualifiedName ( result , namespace , name )
803+ elementSpec ( namespace , type , subtypes , name , signature , _)
805804 )
806805 or
807806 // Member functions
808807 exists ( Class namedClass , Class classWithMethod |
808+ hasClassAndName ( classWithMethod , result , name ) and
809+ classHasQualifiedName ( namedClass , namespace , type )
810+ |
809811 (
810- elementSpecMatchesSignature ( result , namespace , type , subtypes , name , signature ) and
811- hasClassAndName ( classWithMethod , result , name )
812+ elementSpecMatchesSignature ( result , namespace , type , subtypes , name , signature )
812813 or
813814 signature = "" and
814- elementSpec ( namespace , type , subtypes , name , "" , _) and
815- hasClassAndName ( classWithMethod , result , name )
815+ elementSpec ( namespace , type , subtypes , name , "" , _)
816816 ) and
817- classHasQualifiedName ( namedClass , namespace , type ) and
818817 (
819818 // member declared in the named type or a subtype of it
820819 subtypes = true and
0 commit comments