KT-65907: add handling for nested classes #KT-65907 fixed

This commit is contained in:
Artem Olkov
2024-03-01 15:23:54 +01:00
committed by Space Team
parent 8ef2d49ab0
commit a26ffe360c
6 changed files with 83 additions and 10 deletions
@@ -3,7 +3,21 @@ package namespace.deeper
class NAMESPACED_CLASS
class Foo {
class INSIDE_CLASS // this should be ignored currently
class INSIDE_CLASS {
class DEEPER_INSIDE_CLASS {
fun foo(): Boolean = TODO()
val my_value: UInt = 5u
var my_variable: Long = 5
}
fun foo(): Boolean = TODO()
val my_value: UInt = 5u
var my_variable: Long = 5
}
fun foo(): Boolean = TODO()
@@ -3,7 +3,7 @@ package namespace
class NAMESPACED_CLASS
class Foo {
class INSIDE_CLASS // this should be ignored currently
class INSIDE_CLASS
fun foo(): Boolean = TODO()
@@ -1,7 +1,12 @@
class Foo {
class INSIDE_CLASS // this should be ignored currently
class INSIDE_CLASS {
fun my_func(): Boolean = TODO()
val my_value_inner: UInt = 5u
var my_variable_inner: Long = 5
}
fun foo(): Boolean = TODO()
val my_value: UInt = 5u
@@ -19,8 +19,12 @@ object OBJECT
data class DATA_CLASS(val a: Int)
data class DATA_CLASS_WITH_REF(val o: OBJECT)
inline class INLINE_CLASS(val a: Int)
inline class INLINE_CLASS_WITH_REF(val i: DATA_CLASS_WITH_REF)
abstract class ABSTRACT_CLASS
sealed class SEALED {