Kapt tests: minor, add some cases to properties.kt

To check that boolean "is" prefix is treated correctly, and Unit return
type is not translated to void. `@Deprecated` annotations are added just
so that the `$annotations` methods would also be generated.
This commit is contained in:
Alexander Udalov
2023-08-14 23:08:02 +02:00
committed by Space Team
parent 28e232f54f
commit e700a38a87
3 changed files with 109 additions and 0 deletions
@@ -11,4 +11,10 @@ class Test {
val constJavaClassValue: Class<*> = String::class.java
val constClassValue: kotlin.reflect.KClass<*> = (String::class)
@Deprecated("")
var isBoolean = false
@Deprecated("")
var unit = Unit
}