FIR: fix hasTopLevelClassOf optimization in deserialized provider

Before this commit, we answered 'no top level class' if Java class finder
could not calculate known class names. However, it's incorrect,
because this situation means 'don't actually know'.

To precise semantics, function name was also inverted
This commit is contained in:
Mikhail Glukhikh
2019-12-10 12:11:33 +03:00
parent fa89aa0b49
commit 7d62e3ce56
4 changed files with 15 additions and 4 deletions
@@ -0,0 +1 @@
val someList = listOf(1, 2, 3)
@@ -0,0 +1,3 @@
FILE: Some.kt
public final val someList: R|kotlin/collections/List<kotlin/Int>| = R|kotlin/collections/listOf|<R|kotlin/Int|>(Int(1), Int(2), Int(3))
public get(): R|kotlin/collections/List<kotlin/Int>|