KtCallExpression(208,319): 'sumOf { c ->'
  KaCallResolutionError:
    candidateCalls = [
      KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = null
        extensionReceiver = KaExplicitReceiverValue:
          expression = listOf(19, 20, 21)
          isSafeNavigation = false
          type = kotlin.collections.List<kotlin.Int>
        signature = KaFunctionSignature:
          receiverType = kotlin.collections.Iterable<kotlin.Int>
          returnType = kotlin.Int
          symbol = kotlin/collections/sumOf(<extension receiver>: kotlin.collections.Iterable<T>, selector: (T) -> kotlin.Int): kotlin.Int
          valueParameters = [
            KaVariableSignature:
              name = selector
              receiverType = null
              returnType = (kotlin.Int) -> kotlin.Int
              symbol = selector: (T) -> kotlin.Int
              contextParameters = []
              callableId = null
          ]
          contextParameters = []
          callableId = kotlin/collections/sumOf
        typeArgumentsMapping = {
          T -> (kotlin.Int)
        }
        valueArgumentMapping = {
          { c ->
                          println("Level 3: $c")
                          gif(a + b + c > 50) 1L else 0
                      } -> (KaVariableSignature:
            name = selector
            receiverType = null
            returnType = (kotlin.Int) -> kotlin.Int
            symbol = selector: (T) -> kotlin.Int
            contextParameters = []
            callableId = null)
        },
      KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = null
        extensionReceiver = KaExplicitReceiverValue:
          expression = listOf(19, 20, 21)
          isSafeNavigation = false
          type = kotlin.collections.List<kotlin.Int>
        signature = KaFunctionSignature:
          receiverType = kotlin.collections.Iterable<kotlin.Int>
          returnType = kotlin.UInt
          symbol = kotlin/collections/sumOf(<extension receiver>: kotlin.collections.Iterable<T>, selector: (T) -> kotlin.UInt): kotlin.UInt
          valueParameters = [
            KaVariableSignature:
              name = selector
              receiverType = null
              returnType = (kotlin.Int) -> kotlin.UInt
              symbol = selector: (T) -> kotlin.UInt
              contextParameters = []
              callableId = null
          ]
          contextParameters = []
          callableId = kotlin/collections/sumOf
        typeArgumentsMapping = {
          T -> (kotlin.Int)
        }
        valueArgumentMapping = {
          { c ->
                          println("Level 3: $c")
                          gif(a + b + c > 50) 1L else 0
                      } -> (KaVariableSignature:
            name = selector
            receiverType = null
            returnType = (kotlin.Int) -> kotlin.UInt
            symbol = selector: (T) -> kotlin.UInt
            contextParameters = []
            callableId = null)
        }
    ]
    diagnostic = ERROR<OVERLOAD_RESOLUTION_AMBIGUITY: Overload resolution ambiguity between candidates:
    fun <T> Iterable<T>.sumOf(selector: (T) -> Int): Int
    fun <T> Iterable<T>.sumOf(selector: (T) -> UInt): UInt>
