[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
This commit is contained in:
Dmitriy Novozhilov
2022-09-14 16:29:43 +03:00
committed by Space Team
parent 16b72d3e54
commit faa96ec7c0
21 changed files with 466 additions and 32 deletions
@@ -0,0 +1,24 @@
// 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() {}
}