39639e08f9
It was working incorrectly, because we've been trying to fix P1 variable to intersectTypes(String?, StubForP2) that should result to String? because we've got stubEqualsToAnything enabled there, but nullability was being chosen incorrectly because `StubForP2.isNullableType()` returned false NB: The code inside `is ConeTypeVariable` case wasn't working properly because it always `lookupTag.toSymbol(session)` always returned null, thus there was effectively five dead lines of code there. ^KT-57814 Fixed ^KT-57921 Related