Kotlin: Add FP test case for misnamed reftype query

This commit is contained in:
Tamas Vajk
2022-11-16 14:58:36 +01:00
parent c70f3d35d0
commit e547be5e9a
3 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
| Test.kt:3:23:5:9 | | Class and interface names should start in uppercase. |
| Test.kt:7:9:8:9 | | Class and interface names should start in uppercase. |
| Test.kt:12:1:12:13 | aaaa | Class and interface names should start in uppercase. |

View File

@@ -0,0 +1 @@
Advisory/Naming/NamingConventionsRefTypes.ql

View File

@@ -0,0 +1,12 @@
class Foo {
fun myFun() {
val nestedStr by lazy {
"another string"
}
fun nestedFun() {
}
}
}
class aaaa {}