'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-09-28 13:29:06 +03:00
parent 7cf2840fe5
commit 4e91f2ffb7
7 changed files with 30 additions and 36 deletions
@@ -11,7 +11,7 @@ public abstract class TestBug1() {
position(m1().second)
}
private abstract fun m1(): Pair<Int, Int>
<!INCOMPATIBLE_MODIFIERS!>private<!> <!INCOMPATIBLE_MODIFIERS!>abstract<!> fun m1(): Pair<Int, Int>
private fun position(<!UNUSED_PARAMETER!>p<!>: Int) {}