Skip to content

Commit d8b5a04

Browse files
authored
Merge pull request github#11291 from tamasvajk/kotlin-confusing-overload
Kotlin: Add test case for confusing overloading query
2 parents c92989c + 55dc929 commit d8b5a04

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)