284d5437e5
Instead, it should happen during BODY_RESOLVE phase. This fixes KT-66150. The problem was, that `super<B>.f()` expression in delegated constructor call was transformed during TYPES phase, and type transformer has no special logic for allowing bare types in super qualifiers, like the one in expressions transformer (see `org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirExpressionsResolveTransformer.transformSuperReceiver`). As a result, `B` without type argument leads to WrongNumberOfTypeArgumentsError. It looks incorrect that expressions in constructor call resolved during TYPES phase, so skipping transformation of argument list seems like the best solution here. ^KT-66150 Fixed