mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
299 B
Kotlin
13 lines
299 B
Kotlin
public class Test {
|
|
|
|
val lazyVal: Int by lazy { 5 }
|
|
|
|
// Both of these constructors will need to extract the implicit classes created by `lazyVal` and initialize it--
|
|
// This test checks we don't introduce any inconsistency this way.
|
|
|
|
constructor(x: Int) { }
|
|
|
|
constructor(y: String) { }
|
|
|
|
}
|