Fix for SOE in VarianceChecker #KT-13401 Fixed
This commit is contained in:
@@ -56,7 +56,7 @@ fun <D : TypeHolder<D>> D.checkTypePosition(
|
||||
|
||||
var noError = true
|
||||
for (argument in arguments) {
|
||||
if (argument == null || argument.typeParameter == null) continue
|
||||
if (argument == null || argument.typeParameter == null || argument.projection.isStarProjection) continue
|
||||
|
||||
val projectionKind = TypeCheckingProcedure.getEffectiveProjectionKind(argument.typeParameter!!, argument.projection)!!
|
||||
val newPosition = when (projectionKind) {
|
||||
|
||||
Reference in New Issue
Block a user