Fix simpleUnaryOperators.kt test

This commit is contained in:
Mikhael Bogdanov
2021-07-22 07:51:50 +02:00
parent f84adcb378
commit a544d6948b
2 changed files with 3 additions and 2 deletions
@@ -19,6 +19,6 @@ fun test5(x: Boolean): Boolean {
}
fun test6(): Boolean {
return false
return true.not()
}
@@ -28,4 +28,5 @@ FILE fqName:<root> fileName:/simpleUnaryOperators.kt
FUN name:test6 visibility:public modality:FINAL <> () returnType:kotlin.Boolean
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun test6 (): kotlin.Boolean declared in <root>'
CONST Boolean type=kotlin.Boolean value=false
CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCL
$this: CONST Boolean type=kotlin.Boolean value=true