Most compressor warranties are dependent on the condenser and evaporator both being changed. any debris in the system from a component failure introduces a cycle of repeated parts replacement. Make sure all was replaced.
Let's be careful about our terminology and accuracy. The evaporator is not an item that you replace unless yours leaks. I know of no warranties that mention anything about evaporator replacement.
The accumulator and often called an accumulator drier which typically has a desiccant bag inside is the part that is often required to be replaced with a compressor for the warranty. Also many times the orifice tube is required for warranty but that's always a good idea anytime you have a compressor failure and even a good idea on any older system that's never been opened up. Might as well replace it to get the gunk off the screen while you have the system charge out.
They will sometimes called at the accumulator or receiver drier also. Since it has a desiccant bag in it it can also be considered a dryer since it serves as that purpose.
The funny part is most vehicles have another dryer in the liquid line but they never talk of this being replaced for warranty.
Probably because it's hard to do and not as commonly reproduce by aftermarket companies and they figure the same thing can be accomplished by replacing the accumulator and they can sell more parts and make more money.
So for warranty purposes it is almost always the accumulator and or the orifice tube.
I have I have never seen a warranty that mentions anything or requires the evaporator core to be replaced.
It doesn't have small passages in it that get clogged up. Just a big tube the size of your finger or larger with the fins hooked to it. The only time you replace an evaporator core is when it fails due to leakage.