Skip to content

Commit e547be5

Browse files
committed
Kotlin: Add FP test case for misnamed reftype query
1 parent c70f3d3 commit e547be5

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| Test.kt:3:23:5:9 | | Class and interface names should start in uppercase. |
2+
| Test.kt:7:9:8:9 | | Class and interface names should start in uppercase. |
3+
| Test.kt:12:1:12:13 | aaaa | Class and interface names should start in uppercase. |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Advisory/Naming/NamingConventionsRefTypes.ql
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
class Foo {
2+
fun myFun() {
3+
val nestedStr by lazy {
4+
"another string"
5+
}
6+
7+
fun nestedFun() {
8+
}
9+
}
10+
}
11+
12+
class aaaa {}

0 commit comments

Comments
 (0)