@@ -793,29 +793,27 @@ private Element interpretElement0(
793793) {
794794 (
795795 // Non-member functions
796- elementSpec ( namespace , type , subtypes , name , signature , _) and
797796 funcHasQualifiedName ( result , namespace , name ) and
798797 subtypes = false and
799798 type = "" and
800799 (
801800 elementSpecMatchesSignature ( result , namespace , type , subtypes , name , signature )
802801 or
803802 signature = "" and
804- elementSpec ( namespace , type , subtypes , name , "" , _) and
805- funcHasQualifiedName ( result , namespace , name )
803+ elementSpec ( namespace , type , subtypes , name , signature , _)
806804 )
807805 or
808806 // Member functions
809807 exists ( Class namedClass , Class classWithMethod |
808+ hasClassAndName ( classWithMethod , result , name ) and
809+ classHasQualifiedName ( namedClass , namespace , type )
810+ |
810811 (
811- elementSpecMatchesSignature ( result , namespace , type , subtypes , name , signature ) and
812- hasClassAndName ( classWithMethod , result , name )
812+ elementSpecMatchesSignature ( result , namespace , type , subtypes , name , signature )
813813 or
814814 signature = "" and
815- elementSpec ( namespace , type , subtypes , name , "" , _) and
816- hasClassAndName ( classWithMethod , result , name )
815+ elementSpec ( namespace , type , subtypes , name , "" , _)
817816 ) and
818- classHasQualifiedName ( namedClass , namespace , type ) and
819817 (
820818 // member declared in the named type or a subtype of it
821819 subtypes = true and
0 commit comments