Diagnostric for default
This commit is contained in:
@@ -23,4 +23,18 @@ inline fun unsupported() {
|
||||
<!NOT_YET_SUPPORTED_IN_INLINE!>fun local() {
|
||||
fun localInner() {}
|
||||
}<!>
|
||||
}
|
||||
|
||||
inline fun unsupportedDefault(<!NOT_YET_SUPPORTED_IN_INLINE!>s : Int = 10<!>) {
|
||||
|
||||
}
|
||||
|
||||
open class Base {
|
||||
open fun foo(a: Int = 1) {}
|
||||
}
|
||||
|
||||
class Derived: Base() {
|
||||
inline final override fun foo(<!NOT_YET_SUPPORTED_IN_INLINE!>a: Int<!>) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user