Files
kotlin-fork/compiler/testData/asJava/lightClasses/lightClassByPsi/valueClassInSignature.kt
T
Dmitriy Novozhilov faa96ec7c0 [AA LC] Don't create light methods if value class is present in signature
^KT-55788

Test `parameter_jvmInline.kt` is removed because now members with value
  classes are not included in light classes and don't have PSI representation
2023-01-12 17:45:10 +00:00

25 lines
572 B
Kotlin
Vendored

// CHECK_BY_JAVA_FILE
@JvmInline
value class Some(val value: String)
class RegularClass {
var classProp: Some = Some("1")
var Some.classPropInExtension: Int
get() = 1
set(value) {}
fun classFunInReturn(): Some = Some("1")
fun classFunInParameter(s: Some) {}
fun Some.classFunInExtension() {}
}
interface RegularInterface {
var interfaceProp: Some
var Some.interfacePropInExtension: Int
fun interfaceFunInReturn(): Some = Some("1")
fun interfaceFunInParameter(s: Some) {}
fun Some.interfaceFunInExtension() {}
}