Fix intention for when: insert '||' instead of ','

This commit is contained in:
Natalia Ukhorskaya
2015-12-16 14:58:43 +03:00
parent 6a3ac66208
commit abd7ed5c70
7 changed files with 46 additions and 30 deletions
@@ -1,5 +1,6 @@
// ERROR: Expected condition of type kotlin.Boolean
// ERROR: Expected condition of type kotlin.Boolean
// SKIP_ERRORS_AFTER
fun test(n: Int): String {
return <caret>when {