private / protected / internal modifiers are deprecated in interfaces, relevant tests changed
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
// !DIAGNOSTICS: -CONFLICTING_JVM_DECLARATIONS
|
||||
interface One {
|
||||
public open fun foo() : Int
|
||||
private fun boo() = 10
|
||||
<!DEPRECATED_MODIFIER_CONTAINING_DECLARATION!>private<!> fun boo() = 10
|
||||
}
|
||||
interface Two {
|
||||
public open fun foo() : Int
|
||||
|
||||
Reference in New Issue
Block a user