mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional. I kept the platform-specific directories around under `kotlin`, but you could also easily merge all these together if you find them unhelpful. I'll leave that change to you.
16 lines
347 B
Kotlin
16 lines
347 B
Kotlin
public class Test {
|
|
|
|
@JvmOverloads fun f(x: Int = 0, y: Int) { }
|
|
|
|
}
|
|
|
|
public class AllDefaultsConstructor(val x: Int = 1, val y: Int = 2) { }
|
|
|
|
public annotation class AllDefaultsAnnotation(val x: Int = 1, val y: Int = 2) { }
|
|
|
|
public class AllDefaultsExplicitNoargConstructor(val x: Int = 1, val y: Int = 2) {
|
|
|
|
constructor() : this(3, 4) { }
|
|
|
|
}
|