Redundant semicolon: don't report when semicolon is between type and '!'

#KT-38240 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-04-15 10:54:59 +09:00
committed by Yan Zhulanow
parent 8e8171547b
commit 4cf83d9526
3 changed files with 21 additions and 3 deletions
@@ -0,0 +1,9 @@
// PROBLEM: none
fun test(a: Any) {
foo {
val b = a as Boolean;<caret>
!b
}
}
fun foo(f: () -> Boolean) {}