FIR IDE: do not mark declaration with some lazy resolve phase if only some children are resolved to that phase

Otherwise, we will not be able to resolve parent one
This commit is contained in:
Ilya Kirillov
2020-12-18 17:56:21 +01:00
parent 1e2536402d
commit 9a86d2e10c
11 changed files with 76 additions and 22 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
FILE: main.kt
public final [BODY_RESOLVE] class WithElvis : R|kotlin/Any| {
public final [CONTRACTS] class WithElvis : R|kotlin/Any| {
public [CONTRACTS] constructor(value: R|kotlin/String?|): R|elvis/WithElvis| {
super<R|kotlin/Any|>()
}
+1 -1
View File
@@ -1,5 +1,5 @@
FILE: main.kt
public final [BODY_RESOLVE] class Foo : R|kotlin/Any| {
public final [CONTRACTS] class Foo : R|kotlin/Any| {
public final [CONTRACTS] val x: R|kotlin/Int|
public get(): R|kotlin/Int|