KtFile: 'GenericClassNameBeforeOneUnresolvedClass.kt'
  null

KtPackageDirective(0,0): ''
  null

KtImportList(0,0): ''
  null

KtClass(1,13): 'class Foo<T>'
  null

KtTypeParameterList(10,13): '<T>'
  null

KtTypeParameter(11,12): 'T'
  null

KtClass(15,48): 'class C {'
  null

KtClassBody(23,48): '{'
  null

KtProperty(29,46): 'val prop: Foo.Bar'
  null

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

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

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

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

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

KtNamedFunction(50,94): 'fun testFun() {'
  null

KtParameterList(61,63): '()'
  null

KtBlockExpression(64,94): '{'
  null

KtProperty(70,92): 'val localProp: Foo.Bar'
  null

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

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

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

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

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

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

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

KtTypeParameter(101,102): 'T'
  null

KtParameterList(108,129): '(action: (T) -> Unit)'
  null

KtParameter(109,128): 'action: (T) -> Unit'
  null

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

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

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

KtParameter(118,119): 'T'
  null

KtTypeReference(118,119): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtUserType(118,119): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

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

KtTypeReference(124,128): 'Unit'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Unit
    ]

KtUserType(124,128): 'Unit'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Unit
    ]

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

KtBlockExpression(130,132): '{}'
  null

KtProperty(134,181): 'val prop = take {'
  null

KtCallExpression(145,181): '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(145,149): '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(150,181): '{'
  null

KtLambdaExpression(150,181): '{'
  null

KtFunctionLiteral(150,181): '{'
  null

KtParameterList(156,176): 'lambdaParam: Foo.Bar'
  null

KtParameter(156,176): 'lambdaParam: Foo.Bar'
  null

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

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

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

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

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

KtBlockExpression(180,180): ''
  null
