KtFile: 'ClassNameBeforeOneUnsresolvedClass.kt'
  null

KtPackageDirective(0,0): ''
  null

KtImportList(0,0): ''
  null

KtClass(1,10): 'class Foo'
  null

KtClass(12,45): 'class C {'
  null

KtClassBody(20,45): '{'
  null

KtProperty(26,43): 'val prop: Foo.Bar'
  null

KtTypeReference(36,43): 'Foo.Bar'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtUserType(36,43): 'Foo.Bar'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtUserType(36,39): 'Foo'
  KaSymbolResolutionSuccess:
    symbols = [
      /Foo
    ]

KtNameReferenceExpression(36,39): 'Foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Foo
    ]

KtNameReferenceExpression(40,43): 'Bar'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtNamedFunction(47,91): 'fun testFun() {'
  null

KtParameterList(58,60): '()'
  null

KtBlockExpression(61,91): '{'
  null

KtProperty(67,89): 'val localProp: Foo.Bar'
  null

KtTypeReference(82,89): 'Foo.Bar'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtUserType(82,89): 'Foo.Bar'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtUserType(82,85): 'Foo'
  KaSymbolResolutionSuccess:
    symbols = [
      /Foo
    ]

KtNameReferenceExpression(82,85): 'Foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Foo
    ]

KtNameReferenceExpression(86,89): 'Bar'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtNamedFunction(93,129): 'fun <T> take(action: (T) -> Unit) {}'
  null

KtTypeParameterList(97,100): '<T>'
  null

KtTypeParameter(98,99): 'T'
  null

KtParameterList(105,126): '(action: (T) -> Unit)'
  null

KtParameter(106,125): 'action: (T) -> Unit'
  null

KtTypeReference(114,125): '(T) -> Unit'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Function1
    ]

KtFunctionType(114,125): '(T) -> Unit'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Function1
    ]

KtParameterList(114,117): '(T)'
  null

KtParameter(115,116): 'T'
  null

KtTypeReference(115,116): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtUserType(115,116): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtNameReferenceExpression(115,116): 'T'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtTypeReference(121,125): 'Unit'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Unit
    ]

KtUserType(121,125): 'Unit'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Unit
    ]

KtNameReferenceExpression(121,125): 'Unit'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Unit
    ]

KtBlockExpression(127,129): '{}'
  null

KtProperty(131,178): 'val prop = take {'
  null

KtCallExpression(142,178): 'take {'
  KaSymbolResolutionError:
    candidateSymbols = [
      /take(action: (T) -> kotlin.Unit): kotlin.Unit
    ]
    diagnostic = ERROR<EXPECTED_PARAMETER_TYPE_MISMATCH: Parameter type mismatch: actual type is '??? (Unresolved qualified name: Foo.Bar)', but 'uninferred T (of fun <T> take)' was expected.>

KtNameReferenceExpression(142,146): 'take'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionError:
    candidateSymbols = [
      /take(action: (T) -> kotlin.Unit): kotlin.Unit
    ]
    diagnostic = ERROR<EXPECTED_PARAMETER_TYPE_MISMATCH: Parameter type mismatch: actual type is '??? (Unresolved qualified name: Foo.Bar)', but 'uninferred T (of fun <T> take)' was expected.>

KtLambdaArgument(147,178): '{'
  null

KtLambdaExpression(147,178): '{'
  null

KtFunctionLiteral(147,178): '{'
  null

KtParameterList(153,173): 'lambdaParam: Foo.Bar'
  null

KtParameter(153,173): 'lambdaParam: Foo.Bar'
  null

KtTypeReference(166,173): 'Foo.Bar'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtUserType(166,173): 'Foo.Bar'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtUserType(166,169): 'Foo'
  KaSymbolResolutionSuccess:
    symbols = [
      /Foo
    ]

KtNameReferenceExpression(166,169): 'Foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Foo
    ]

KtNameReferenceExpression(170,173): 'Bar'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Bar'.>

KtBlockExpression(177,177): ''
  null
