diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-05-13 15:13:39 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-05-13 17:38:47 +0200 |
commit | d430b03bc11c8fb279d9601fd33f5ac3ab48ed80 (patch) | |
tree | 7a7b965ab3d26040e9448ecff2f1237f763d166d /src | |
parent | 9e1b464d44d2402211b905d6d89cf4004090fe43 (diff) | |
download | scala-d430b03bc11c8fb279d9601fd33f5ac3ab48ed80.tar.gz scala-d430b03bc11c8fb279d9601fd33f5ac3ab48ed80.tar.bz2 scala-d430b03bc11c8fb279d9601fd33f5ac3ab48ed80.zip |
Fix BeanInfo generation for GenBCode
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/jvm/BCodeHelpers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/BCodeHelpers.scala b/src/compiler/scala/tools/nsc/backend/jvm/BCodeHelpers.scala index f800dbf9cd..1ede914288 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/BCodeHelpers.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/BCodeHelpers.scala @@ -1108,7 +1108,7 @@ abstract class BCodeHelpers extends BCodeTypes with BytecodeWriters { constructor.visitVarInsn(asm.Opcodes.ALOAD, 0) // push the class - constructor.visitLdcInsn(exemplar(cls).c) + constructor.visitLdcInsn(exemplar(cls).c.toASMType) // push the string array of field information constructor.visitLdcInsn(new java.lang.Integer(fieldList.length)) |