[K/JS] Don't add nested classes generated by plugins into ExportModel for interfaces ^KT-63184 Fixed
This commit is contained in:
+1
@@ -323,6 +323,7 @@ class ExportModelGenerator(val context: JsIrBackendContext, val generateNamespac
|
||||
members.addIfNotNull(exportProperty(candidate)?.withAttributesFor(candidate))
|
||||
|
||||
is IrClass -> {
|
||||
if (klass.isInterface) continue
|
||||
val ec = exportClass(candidate)?.withAttributesFor(candidate)
|
||||
if (ec is ExportedClass) {
|
||||
nestedClasses.add(ec)
|
||||
|
||||
Reference in New Issue
Block a user