[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:
committed by
Space Team
parent
16b72d3e54
commit
faa96ec7c0
+24
@@ -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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user