[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests

This commit is contained in:
Igor Yakovlev
2020-10-07 16:36:16 +03:00
committed by Ilya Kirillov
parent 3cefef03ff
commit dbb54c87bc
213 changed files with 3496 additions and 218 deletions
@@ -1,4 +1,6 @@
// p.B
package p
actual class B
actual class B
// FIR_COMPARISON
@@ -1,4 +1,5 @@
// p.ActualTypeAliasKt
// FIR_COMPARISON
package p
actual typealias B = List<Int>
@@ -10,3 +10,5 @@ public inline fun f(): Int = 3
@kotlin.internal.InlineOnly
public inline fun g(p: String): String = "p"
// FIR_COMPARISON
@@ -1,4 +1,6 @@
// p.B
// FIR_COMPARISON
package p
expect class B
@@ -1,4 +1,6 @@
// p.B
// FIR_COMPARISON
package p
expect object B
@@ -1,4 +1,6 @@
// p.B.Nested
// FIR_COMPARISON
package p
expect class B {
@@ -1,4 +1,6 @@
// p.B.Nested
// FIR_COMPARISON
package p
expect object B {
@@ -1,6 +1,7 @@
// Validation
// ALLOW_FRONTEND_EXCEPTION
// See KT-24323
// FIR_COMPARISON
@Retention(AnnotationRetention.RUNTIME /* ) was removed */
annotation class Validation()
@@ -27,4 +27,6 @@ annotation class S(val g: String)
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class R(val s: String)
annotation class R(val s: String)
// FIR_COMPARISON