3ea1f7851b
fix checking for intersection types in CheckIncompatibleTypeVariableUpperBounds we need this resolve, because getEmptyIntersectionTypeKind under the hood uses org.jetbrains.kotlin.resolve.checkers.EmptyIntersectionTypeChecker.computeEmptyIntersectionEmptiness which uses computeByHavingCommonSubtype where we have isFinalClassConstructor() call, so we need to resolve to STATUS phase to get the correct modality ^KT-56543