Final in interfaces: deprecation ---> error + relevant test fixes

This commit is contained in:
Mikhail Glukhikh
2015-11-17 19:08:07 +03:00
parent 56af3a0af4
commit cd1b58f2eb
16 changed files with 13 additions and 79 deletions
@@ -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()
}