ReadKotlinBinaryClassTest: fix constructor with type parameter

class ClassWithConstructorAndTypeParameter<P>()
This commit is contained in:
Stepan Koltsov
2012-01-23 20:19:37 +04:00
parent 45cc0cd99e
commit 4b7f3f718e
4 changed files with 10 additions and 3 deletions
@@ -446,8 +446,9 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
}
if (CodegenUtil.requireTypeInfoConstructorArg(descriptor.getDefaultType())) {
// TODO
i++;
AnnotationVisitor jetTypeParameterAnnotation =
mv.visitParameterAnnotation(i++, JvmStdlibNames.JET_TYPE_PARAMETER.getDescriptor(), true);
jetTypeParameterAnnotation.visitEnd();
}
for (ValueParameterDescriptor valueParameter : constructorDescriptor.getValueParameters()) {