Always generate primitive boolean constants as expressions of type 'kotlin.Boolean'.

This commit is contained in:
Dmitry Petrov
2017-03-06 18:37:34 +03:00
parent 1bbbc1ca1c
commit cb61c358ea
4 changed files with 38 additions and 2 deletions
@@ -0,0 +1,7 @@
fun test1(b: Boolean) {
b && return
}
fun test2(b: Boolean) {
b || return
}