Kotlin: Move tests from test/kotlin to test-kotlin1

Matches test-kotlin2
This commit is contained in:
Ian Lynagh
2023-11-21 15:28:12 +00:00
parent 08383eaea5
commit f48cc1a526
625 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1 @@
Violations of Best Practice/Naming Conventions/ConfusingOverloading.ql

View File

@@ -0,0 +1,20 @@
class C {
var p: Int
get() = 1
set(value) {}
fun fn() {
val prop = C::p
prop(this)
}
}
class A {
fun <T : Any> fn(value: T, i: Int = 1) {}
fun fn(value: String, i: Int = 1) {}
}
class Foo {
val str by lazy {
"someString"
}
}