Add script class annotations generation from the base class

This commit is contained in:
Ilya Chernikov
2018-07-02 18:19:23 +02:00
parent edf13c022e
commit 0f46f62232
7 changed files with 160 additions and 4 deletions
@@ -44,6 +44,7 @@ class ScriptCodegen private constructor(
typeMapper.mapSupertype(scriptDescriptor.getSuperClassOrAny().defaultType, null).internalName,
mapSupertypesNames(typeMapper, scriptDescriptor.getSuperInterfaces(), null)
)
AnnotationCodegen.forClass(v.visitor, this, typeMapper).genAnnotations(scriptDescriptor, null)
}
override fun generateBody() {