[LL FIR] FirElementBuilder: avoid body resolution for type references inside 'where'
^KT-62691 Fixed
This commit is contained in:
committed by
Space Team
parent
35567d453b
commit
500de9f9bb
Vendored
+2
-2
@@ -20,6 +20,6 @@ FILE: [ResolvedTo(IMPORTS)] annotationInsideWhereFunction.kt
|
||||
}
|
||||
public? final? [ResolvedTo(RAW_FIR)] interface Two : R|kotlin/Any| {
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] T : R|One|, R|@R|Anno|(s = String(str)) Two|> foo([ResolvedTo(BODY_RESOLVE)] t: R|T|): R|T| {
|
||||
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun <[ResolvedTo(ANNOTATION_ARGUMENTS)] T : R|One|, R|@R|Anno|(s = String(str)) Two|> foo([ResolvedTo(ANNOTATION_ARGUMENTS)] t: R|T|): R|T| {
|
||||
^foo R|<local>/t|
|
||||
}
|
||||
}
|
||||
Vendored
+3
-3
@@ -20,7 +20,7 @@ FILE: [ResolvedTo(IMPORTS)] annotationInsideWhereProperty.kt
|
||||
}
|
||||
public abstract [ResolvedTo(STATUS)] interface Two : R|kotlin/Any| {
|
||||
}
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val <[ResolvedTo(BODY_RESOLVE)] T : R|One|, R|@R|Anno|(s = String(str)) Two|> R|T|.foo: R|T|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|T| {
|
||||
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] val <[ResolvedTo(ANNOTATION_ARGUMENTS)] T : R|One|, R|@R|Anno|(s = String(str)) Two|> R|T|.foo: R|T|
|
||||
public [ResolvedTo(ANNOTATION_ARGUMENTS)] get(): R|T| {
|
||||
^ this@R|/foo|
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user