Prohibit inner sealed classes

#KT-16233 Fixed
This commit is contained in:
Denis Zharkov
2017-02-10 16:31:54 +03:00
parent 86d1c7b7ec
commit 5b9b003e02
3 changed files with 25 additions and 0 deletions
@@ -156,3 +156,7 @@ class IllegalModifiers10
<!INCOMPATIBLE_MODIFIERS!>const<!> constructor()
class IllegalModifiers11 <!INCOMPATIBLE_MODIFIERS!>private<!> <!INCOMPATIBLE_MODIFIERS!>protected<!> constructor()
class Outer {
<!INCOMPATIBLE_MODIFIERS!>inner<!> <!INCOMPATIBLE_MODIFIERS!>sealed<!> class Inner
}