96d0b1c47a
Revert "Mute/ignore 'PROVIDED_RUNTIME_TOO_LOW' in tests"
17 lines
448 B
Kotlin
Vendored
17 lines
448 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER,-UNUSED_VARIABLE
|
|
|
|
// FILE: test.kt
|
|
import kotlinx.serialization.*
|
|
|
|
class NonSerializable
|
|
|
|
@Serializable
|
|
class Basic(val foo: <!SERIALIZER_NOT_FOUND("NonSerializable")!>NonSerializable<!>)
|
|
|
|
@Serializable
|
|
class Inside(val foo: List<<!SERIALIZER_NOT_FOUND("NonSerializable")!>NonSerializable<!>>)
|
|
|
|
@Serializable
|
|
class WithImplicitType {
|
|
<!SERIALIZER_NOT_FOUND("NonSerializable")!>val foo = NonSerializable()<!>
|
|
} |