mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
This would help for those who use inline classes by suppressing error about unsupported feature
10 lines
410 B
Kotlin
Vendored
10 lines
410 B
Kotlin
Vendored
// !LANGUAGE: -InlineClasses
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
<!UNSUPPORTED_FEATURE!>inline<!> class Foo(val x: Int)
|
|
|
|
<!WRONG_MODIFIER_TARGET!>inline<!> annotation class InlineAnn
|
|
<!WRONG_MODIFIER_TARGET!>inline<!> object InlineObject
|
|
<!WRONG_MODIFIER_TARGET!>inline<!> enum class InlineEnum
|
|
|
|
<!UNSUPPORTED_FEATURE!>inline<!> class NotVal(<!INLINE_CLASS_CONSTRUCTOR_NOT_FINAL_READ_ONLY_PARAMETER!>x: Int<!>) |