Visibility modifiers are no longer allowed on local classes
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
<!WRONG_MODIFIER_TARGET!>public<!> class A
|
||||
<!WRONG_MODIFIER_TARGET!>private<!> class B
|
||||
<!WRONG_MODIFIER_TARGET!>protected<!> class C
|
||||
<!WRONG_MODIFIER_TARGET!>internal<!> class D
|
||||
}
|
||||
Reference in New Issue
Block a user