KtFile: 'labels.kt'
  NO_CANDIDATES

KtPackageDirective(0,0): ''
  NO_CANDIDATES

KtImportList(0,0): ''
  NO_CANDIDATES

KtNamedFunction(0,44): 'fun foo(action: () -> Unit) {'
  NO_CANDIDATES

KtParameterList(7,27): '(action: () -> Unit)'
  NO_CANDIDATES

KtParameter(8,26): 'action: () -> Unit'
  NO_CANDIDATES

KtTypeReference(16,26): '() -> Unit'
  NO_CANDIDATES

KtFunctionType(16,26): '() -> Unit'
  NO_CANDIDATES

KtParameterList(16,18): '()'
  NO_CANDIDATES

KtTypeReference(22,26): 'Unit'
  NO_CANDIDATES

KtUserType(22,26): 'Unit'
  NO_CANDIDATES

KtNameReferenceExpression(22,26): 'Unit'
  NO_CANDIDATES

KtBlockExpression(28,44): '{'
  NO_CANDIDATES

KtCallExpression(34,42): 'action()'
  KaApplicableCallCandidate:
    candidate = KaImplicitInvokeCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = action
        isSafeNavigation = false
        type = () -> kotlin.Unit
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Unit
        symbol = kotlin/Function0.invoke(<dispatch receiver>: () -> R): R
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Function0.invoke
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(34,40): 'action'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = action
        receiverType = null
        returnType = () -> kotlin.Unit
        symbol = action: () -> kotlin.Unit
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtValueArgumentList(40,42): '()'
  NO_CANDIDATES

KtNamedFunction(46,163): 'fun usage() {'
  NO_CANDIDATES

KtParameterList(55,57): '()'
  NO_CANDIDATES

KtBlockExpression(58,163): '{'
  NO_CANDIDATES

KtCallExpression(64,102): 'foo label@{'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Unit
        symbol = /foo(action: () -> kotlin.Unit): kotlin.Unit
        valueParameters = [
          KaVariableSignature:
            name = action
            receiverType = null
            returnType = () -> kotlin.Unit
            symbol = action: () -> kotlin.Unit
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = /foo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        label@{
                return@label
            } -> (KaVariableSignature:
          name = action
          receiverType = null
          returnType = () -> kotlin.Unit
          symbol = action: () -> kotlin.Unit
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

KtNameReferenceExpression(64,67): 'foo'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Unit
        symbol = /foo(action: () -> kotlin.Unit): kotlin.Unit
        valueParameters = [
          KaVariableSignature:
            name = action
            receiverType = null
            returnType = () -> kotlin.Unit
            symbol = action: () -> kotlin.Unit
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = /foo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        label@{
                return@label
            } -> (KaVariableSignature:
          name = action
          receiverType = null
          returnType = () -> kotlin.Unit
          symbol = action: () -> kotlin.Unit
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

KtLambdaArgument(68,102): 'label@{'
  NO_CANDIDATES

KtLabeledExpression(68,102): 'label@{'
  NO_CANDIDATES

KtContainerNode(68,74): 'label@'
  NO_CANDIDATES

KtLabelReferenceExpression(68,74): 'label@'
  NO_CANDIDATES

KtLambdaExpression(74,102): '{'
  NO_CANDIDATES

KtFunctionLiteral(74,102): '{'
  NO_CANDIDATES

KtBlockExpression(84,96): 'return@label'
  NO_CANDIDATES

KtReturnExpression(84,96): 'return@label'
  NO_CANDIDATES

KtContainerNode(90,96): '@label'
  NO_CANDIDATES

KtLabelReferenceExpression(90,96): '@label'
  NO_CANDIDATES

KtLabeledExpression(108,161): 'myFor@ for (i in 0..1) {'
  NO_CANDIDATES

KtContainerNode(108,114): 'myFor@'
  NO_CANDIDATES

KtLabelReferenceExpression(108,114): 'myFor@'
  NO_CANDIDATES

KtForExpression(115,161): 'for (i in 0..1) {'
  KaApplicableCallCandidate:
    candidate = KaForLoopCall:
      hasNextCall = KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = 0..1
          isSafeNavigation = false
          type = kotlin.collections.IntIterator
        extensionReceiver = null
        signature = KaFunctionSignature:
          receiverType = null
          returnType = kotlin.Boolean
          symbol = kotlin/collections/Iterator.hasNext(<dispatch receiver>: kotlin.collections.Iterator<T>): kotlin.Boolean
          valueParameters = []
          contextParameters = []
          callableId = kotlin/collections/Iterator.hasNext
        typeArgumentsMapping = {}
        valueArgumentMapping = {}
      iteratorCall = KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = 0..1
          isSafeNavigation = false
          type = kotlin.ranges.IntRange
        extensionReceiver = null
        signature = KaFunctionSignature:
          receiverType = null
          returnType = kotlin.collections.IntIterator
          symbol = kotlin/ranges/IntProgression.iterator(<dispatch receiver>: kotlin.ranges.IntProgression): kotlin.collections.IntIterator
          valueParameters = []
          contextParameters = []
          callableId = kotlin/ranges/IntProgression.iterator
        typeArgumentsMapping = {}
        valueArgumentMapping = {}
      nextCall = KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = 0..1
          isSafeNavigation = false
          type = kotlin.collections.IntIterator
        extensionReceiver = null
        signature = KaFunctionSignature:
          receiverType = null
          returnType = kotlin.Int
          symbol = kotlin/collections/IntIterator.next(<dispatch receiver>: kotlin.collections.IntIterator): kotlin.Int
          valueParameters = []
          contextParameters = []
          callableId = kotlin/collections/IntIterator.next
        typeArgumentsMapping = {}
        valueArgumentMapping = {}
    isInBestCandidates = true

KtParameter(120,121): 'i'
  NO_CANDIDATES

KtContainerNode(125,129): '0..1'
  NO_CANDIDATES

KtBinaryExpression(125,129): '0..1'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.IntRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.ranges.IntRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.IntRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.ranges.IntRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.IntRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.ranges.IntRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.LongRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.ranges.LongRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtConstantExpression(125,126): '0'
  NO_CANDIDATES

KtOperationReferenceExpression(126,128): '..'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.IntRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.ranges.IntRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.IntRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.ranges.IntRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.IntRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.ranges.IntRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 0
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.ranges.LongRange
        symbol = kotlin/Int.rangeTo(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.ranges.LongRange
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.rangeTo
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtConstantExpression(128,129): '1'
  NO_CANDIDATES

KtContainerNodeForControlStructureBody(131,161): '{'
  NO_CANDIDATES

KtBlockExpression(131,161): '{'
  NO_CANDIDATES

KtContinueExpression(141,155): 'continue@myFor'
  NO_CANDIDATES

KtContainerNode(149,155): '@myFor'
  NO_CANDIDATES

KtLabelReferenceExpression(149,155): '@myFor'
  NO_CANDIDATES
