KT-56842 [SLC] Don't mark primitive context receiver parameters with @NotNull

This commit is contained in:
Pavel Mikhailovskii
2023-02-22 10:15:19 +00:00
committed by Space Team
parent de1927abb6
commit 492a161d2c
3 changed files with 5 additions and 5 deletions
@@ -73,7 +73,7 @@ internal class SymbolLightParameterForReceiver private constructor(
),
additionalAnnotationsProvider = NullabilityAnnotationsProvider {
withReceiverSymbol { receiver ->
receiver.type.nullabilityType
receiver.type.let { if (it.isPrimitiveBacked) NullabilityType.Unknown else it.nullabilityType }
}
},
),