JVM: fix debug info for script file classes

This commit is contained in:
pyos
2020-04-23 14:37:43 +02:00
committed by max-kammerer
parent 1e8a660fda
commit 91b6daeacc
2 changed files with 2 additions and 1 deletions
@@ -51,6 +51,7 @@ class ScriptCodegen private constructor(
typeMapper.mapSupertype(it.defaultType, null).internalName
}.toTypedArray()
)
v.visitSource(scriptDeclaration.containingKtFile.name, null)
AnnotationCodegen.forClass(v.visitor, this, state).genAnnotations(scriptDescriptor, null, null)
}