Skip to content

Commit c91e20c

Browse files
committed
Kotlin: Add FP test cases for empty blocks
1 parent c70f3d3 commit c91e20c

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| Test.kt:1:1:13:1 | { ... } | This block should not be empty. Typographical error or missing code? |
2+
| Test.kt:2:20:4:5 | { ... } | This block should not be empty. Typographical error or missing code? |
3+
| Test.kt:7:9:8:9 | { ... } | This block should not be empty. Typographical error or missing code? |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Likely Bugs/Statements/EmptyBlock.ql
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class Foo {
2+
abstract inner class Bar {
3+
abstract fun myFun(): Int
4+
}
5+
6+
inner class Baz {
7+
constructor() {
8+
}
9+
10+
fun fn() {
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)