IC: Forbid inner classes inside inline classes

#KT-43067 Fixed
This commit is contained in:
Ilmir Usmanov
2020-11-27 23:44:57 +01:00
parent 15c325cf10
commit 0d55c9108d
13 changed files with 78 additions and 0 deletions
@@ -12,6 +12,7 @@ class Outer(val z1: Z) {
}
inline class InlineOuter(val z1: Z) {
@Suppress("INNER_CLASS_INSIDE_INLINE_CLASS")
inner class Inner(val z2: Z) {
val test = "$z1 $z2"
}