[Analysis API] Add more ContextCollector tests inspired by on-air tests
As the on-air analysis is obsolete, related tests are going to be deleted. Here we add cases not yet covered by 'ContextCollector' tests.
This commit is contained in:
@@ -21,10 +21,6 @@ Tower Data Context:
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol local final class Local : R|kotlin/Any|
|
||||
Type: <local>.Local
|
||||
Element 9
|
||||
Scope: FirLocalScope
|
||||
Element 10
|
||||
Scope: FirLocalScope
|
||||
|
||||
FILE: [ResolvedTo(IMPORTS)] localClass.kt
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/Unit| {
|
||||
@@ -33,11 +29,7 @@ FILE: [ResolvedTo(IMPORTS)] localClass.kt
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/String| {
|
||||
^foo String(foo)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
R|<local>/Local.Local|().R|<local>/foo|()
|
||||
R|<local>/Local.Local|()
|
||||
}
|
||||
Reference in New Issue
Block a user