K2 Scripting: deprecate top level script inner classes
no LT support yet
This commit is contained in:
committed by
Space Team
parent
7484ccb9ee
commit
70d2fcd9c4
@@ -10,7 +10,7 @@ class Nested {
|
||||
}
|
||||
|
||||
|
||||
<!WRONG_MODIFIER_CONTAINING_DECLARATION!>inner<!> class Inner {
|
||||
<!INNER_ON_TOP_LEVEL_SCRIPT_CLASS_WARNING!>inner<!> class Inner {
|
||||
fun innerFun() = function()
|
||||
val innerProp = property
|
||||
fun innerThisFun() = this<!UNRESOLVED_LABEL!>@NestedInnerClass<!>.function()
|
||||
|
||||
Reference in New Issue
Block a user