c586d7a03a
- Also, this error allows IDE to provide quick-fix that changes language version in a project that simplifies the adoption - There is no point in changing K2 part as there this feature will be enabled by default ^KT-56224 Fixed
10 lines
216 B
Kotlin
Vendored
10 lines
216 B
Kotlin
Vendored
// !LANGUAGE: -ValueClassesSecondaryConstructorWithBody
|
|
// WITH_STDLIB
|
|
|
|
@JvmInline
|
|
value class Foo(val x: String) {
|
|
constructor(i: Int) : this(i.toString()) <!UNSUPPORTED_FEATURE!>{<!>
|
|
println(i)
|
|
}
|
|
}
|