e4ae7ca4ce
Previously, type substitution, which is critical for matching generic header/impl members with each other, was only performed when checkImplementationHasHeaderDeclaration was called for impl class (areCompatibleClassifiers creates the correct substitutor). This was done in areCompatibleClassifiers: a substitutor which maps type parameters of the header class to type parameters of the impl class was created. Now we create the same substitutor when checkImplementationHasHeaderDeclaration is called for an impl member of an impl class as well, manually. #KT-15230 Fixed