Final in interfaces: deprecation ---> error + relevant test fixes
This commit is contained in:
@@ -7,8 +7,6 @@ package foo
|
||||
|
||||
import test.*
|
||||
|
||||
// CHECK_CONTAINS_NO_CALLS: testFinalInline
|
||||
// CHECK_CONTAINS_NO_CALLS: testFinalInline2
|
||||
// CHECK_CONTAINS_NO_CALLS: testClassObject
|
||||
|
||||
internal fun testFinalInline(): String {
|
||||
|
||||
@@ -7,7 +7,7 @@ package test
|
||||
|
||||
internal interface InlineTrait {
|
||||
|
||||
public inline final fun finalInline(s: () -> String): String {
|
||||
public fun finalInline(s: () -> String): String {
|
||||
return s()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user