[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

View File

@@ -3,4 +3,6 @@
class ClassWithConstructor(
nullable: String?,
notNull: String
)
)
// FIR_COMPARISON

View File

@@ -8,4 +8,5 @@ class C : Base {
override fun foo(): Unit {}
}
// LAZINESS:NoLaziness
// LAZINESS:NoLaziness
// FIR_COMPARISON

View File

@@ -8,4 +8,6 @@ class Synthetic {
}
private fun foo() {}
}
}
// FIR_COMPARISON

View File

@@ -7,4 +7,5 @@ interface Base<T> {
class C : Base<Unit> {
override fun foo(t: Unit) {}
}
// LAZINESS:NoLaziness
// LAZINESS:NoLaziness
// FIR_COMPARISON

View File

@@ -1,3 +1,5 @@
// UnitParameterKt
fun foo(s: Unit) {}
fun foo(s: Unit) {}
// FIR_COMPARISON

View File

@@ -1,3 +1,5 @@
// VoidReturnKt
fun foo(g: String) {}
fun foo(g: String) {}
// FIR_COMPARISON