KT-3517 Can't call .equals() on a boolean
#KT-3517 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// KT-3517 Can't call .equals() on a boolean
|
||||
|
||||
fun box(): String {
|
||||
val a = false
|
||||
return if (true.equals(true) && a.equals(false)) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user