Skip to content

Commit 55dc929

Browse files
committed
Kotlin: Add test case for confusing overloading query
1 parent c70f3d3 commit 55dc929

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

java/ql/test/kotlin/query-tests/ConfusingMethodSignature/Test.kt renamed to java/ql/test/kotlin/query-tests/ConfusingOverloading/Test.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ class A {
1212
fun <T : Any> fn(value: T, i: Int = 1) {}
1313
fun fn(value: String, i: Int = 1) {}
1414
}
15+
16+
class Foo {
17+
val str by lazy {
18+
"someString"
19+
}
20+
}

0 commit comments

Comments
 (0)