From c51798d46f766aef97978eb1d6ae2d64e8816e76 Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Mon, 1 Feb 2021 14:02:22 +0300 Subject: [PATCH] Fix warning at VMCounters.kt --- .../tests-common/tests/org/jetbrains/kotlin/fir/VMCounters.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/fir/VMCounters.kt b/compiler/tests-common/tests/org/jetbrains/kotlin/fir/VMCounters.kt index 8dfdbaeb2fd..5e34da4b055 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/fir/VMCounters.kt +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/fir/VMCounters.kt @@ -33,10 +33,9 @@ data class VMCounters(val userTime: Long, val cpuTime: Long, val gcInfo: Map merge(first: Map, second: Map, valueOp: (V, V) -> V): Map { +private fun merge(first: Map, second: Map, valueOp: (V, V) -> V): Map { val result = first.toMutableMap() for ((k, v) in second) { - @Suppress("NULLABLE_TYPE_PARAMETER_AGAINST_NOT_NULL_TYPE_PARAMETER") // KT-43225 result.merge(k, v, valueOp) } return result