2b27e64fc8
- Tell user what exactly is not supported (e.g., local inline function) - Reduce diagnostics range to a keyword or an identifier where appropriate #KT-16223 Fixed Target versions 1.1.50
21 lines
442 B
Kotlin
Vendored
21 lines
442 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -NOTHING_TO_INLINE
|
|
|
|
inline val z: Int
|
|
get() {
|
|
|
|
<!NOT_YET_SUPPORTED_IN_INLINE!>class<!> A {
|
|
fun a() {
|
|
class AInner {}
|
|
}
|
|
}
|
|
|
|
<!LOCAL_OBJECT_NOT_ALLOWED!>object B<!>{
|
|
<!LOCAL_OBJECT_NOT_ALLOWED!>object BInner<!> {}
|
|
}
|
|
|
|
<!NOT_YET_SUPPORTED_IN_INLINE!>fun<!> local() {
|
|
fun localInner() {}
|
|
}
|
|
return 1
|
|
}
|