protected & internal are now forbidden in interfaces

This commit is contained in:
Mikhail Glukhikh
2015-10-05 12:05:48 +03:00
committed by Mikhail Glukhikh
parent 5f43628f1b
commit cba6870f52
40 changed files with 44 additions and 462 deletions
@@ -1,8 +0,0 @@
// IS_APPLICABLE: false
interface I {
internal fun foo()
}
abstract class C : I {
<caret>override fun foo() {}
}
@@ -1,7 +0,0 @@
interface I {
protected fun foo()
}
abstract class C : I {
<caret>public override fun foo() {}
}
@@ -1,7 +0,0 @@
interface I {
protected fun foo()
}
abstract class C : I {
<caret>override fun foo() {}
}
@@ -1,7 +0,0 @@
interface I {
protected fun foo()
}
abstract class C : I {
<caret>protected override fun foo() {}
}
@@ -1,7 +0,0 @@
interface I {
protected fun foo()
}
abstract class C : I {
<caret>public override fun foo() {}
}
@@ -1,7 +0,0 @@
interface I {
protected fun foo()
}
abstract class C : I {
<caret>override fun foo() {}
}
@@ -1,7 +0,0 @@
interface I {
protected fun foo()
}
abstract class C : I {
<caret>public override fun foo() {}
}