[LL FIR] run lazy resolve tests by caret
To test production resolveToFirSymbol entry point ^KT-57850
This commit is contained in:
committed by
Space Team
parent
6b3e49e824
commit
3394097f47
+1
-1
@@ -4,6 +4,6 @@ fun bar(): Foo<String>? {
|
||||
return null
|
||||
}
|
||||
|
||||
fun resolveMe() {
|
||||
fun resolve<caret>Me() {
|
||||
val x = bar()
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(RAW_FIR)] functionCallWithGenericResult.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun foo(par<caret>am: Int) = "boo"
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
IMPORTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
COMPILER_REQUIRED_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
COMPANION_GENERATION:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
SUPER_TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
STATUS:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
EXPECT_ACTUAL_MATCHING:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
ARGUMENTS_OF_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
CONTRACTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
IMPLICIT_TYPES_BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
ANNOTATIONS_ARGUMENTS_MAPPING:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
|
||||
FILE RAW TO BODY:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionParameter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int|): R|kotlin/String| {
|
||||
^foo String(boo)
|
||||
}
|
||||
Vendored
+1
-1
@@ -4,6 +4,6 @@ class Bar : Foo<String>
|
||||
|
||||
fun bar() = Bar()
|
||||
|
||||
fun resolveMe() {
|
||||
fun resolve<caret>Me() {
|
||||
val x: Foo<String> = bar()
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(RAW_FIR)] functionWithGenericExpectedTypeInside.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
fun <T : Int, K> resolveMe() {}
|
||||
fun <T : Int, K> resolve<caret>Me() {}
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
|
||||
RAW_FIR:
|
||||
FILE: [ResolvedTo(RAW_FIR)] functionWithTypeParameters.kt
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
|
||||
Reference in New Issue
Block a user