Files
kotlin-fork/idea/testData/intentions/simplifyBooleanWithConstants/nullableComplex2.kt
T
2018-04-03 19:49:31 +03:00

5 lines
190 B
Kotlin
Vendored

data class Test(val notnull: Boolean, val nullable: Boolean?)
fun test(a: Test, b: Test?) {
<caret>a.notnull == true || a.nullable == true || b?.notnull == true || b?.nullable == true
}