'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed
This commit is contained in:
@@ -14,7 +14,7 @@ class C : A() {
|
||||
|
||||
//------------
|
||||
open class D {
|
||||
private open fun self() : D = this
|
||||
<!INCOMPATIBLE_MODIFIERS!>private<!> <!INCOMPATIBLE_MODIFIERS!>open<!> fun self() : D = this
|
||||
}
|
||||
|
||||
class E : D() {
|
||||
|
||||
Reference in New Issue
Block a user