mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests
This commit is contained in:
committed by
Ilya Kirillov
parent
3cefef03ff
commit
dbb54c87bc
@@ -3,4 +3,6 @@
|
||||
class ClassWithConstructor(
|
||||
nullable: String?,
|
||||
notNull: String
|
||||
)
|
||||
)
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -8,4 +8,5 @@ class C : Base {
|
||||
override fun foo(): Unit {}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -8,4 +8,6 @@ class Synthetic {
|
||||
}
|
||||
|
||||
private fun foo() {}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -7,4 +7,5 @@ interface Base<T> {
|
||||
class C : Base<Unit> {
|
||||
override fun foo(t: Unit) {}
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -1,3 +1,5 @@
|
||||
// UnitParameterKt
|
||||
|
||||
fun foo(s: Unit) {}
|
||||
fun foo(s: Unit) {}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,3 +1,5 @@
|
||||
// VoidReturnKt
|
||||
|
||||
fun foo(g: String) {}
|
||||
fun foo(g: String) {}
|
||||
|
||||
// FIR_COMPARISON
|
||||
Reference in New Issue
Block a user