Skip to content

Commit 385c97d

Browse files
authored
Remove yellow code (#2691)
The corresponding change in the compiler (see KT-67764) improves the detection of `CONFLICTING_PROJECTIONS`, which makes this code yellow, because now it provokes `REDUNDANT_PROJECTION`. ^KT-67764 ^KT-68488
1 parent 1f38e22 commit 385c97d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/commonMain/src/kotlinx/serialization/modules/SerializersModule.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ internal class SerialModuleImpl(
208208
}
209209

210210
polyBase2DefaultDeserializerProvider.forEach { (baseClass, provider) ->
211-
collector.polymorphicDefaultDeserializer(baseClass as KClass<Any>, provider as (PolymorphicDeserializerProvider<out Any>))
211+
collector.polymorphicDefaultDeserializer(baseClass as KClass<Any>, provider as (PolymorphicDeserializerProvider<Any>))
212212
}
213213
}
214214
}

0 commit comments

Comments
 (0)