fix compilation of testlib agains stdlib.jar
This commit is contained in:
@@ -1092,10 +1092,7 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!(containingDeclaration instanceof JavaNamespaceDescriptor))
|
getter = typeMapper.mapGetterSignature(propertyDescriptor, OwnerKind.IMPLEMENTATION).getJvmMethodSignature().getAsmMethod();
|
||||||
getter = typeMapper.mapGetterSignature(propertyDescriptor, OwnerKind.IMPLEMENTATION).getJvmMethodSignature().getAsmMethod();
|
|
||||||
else
|
|
||||||
getter = null;
|
|
||||||
|
|
||||||
if (propertyDescriptor.getGetter() == null) {
|
if (propertyDescriptor.getGetter() == null) {
|
||||||
getter = null;
|
getter = null;
|
||||||
@@ -1106,12 +1103,8 @@ public class ExpressionCodegen extends JetVisitor<StackValue, StackValue> {
|
|||||||
setter = null;
|
setter = null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(!(containingDeclaration instanceof JavaNamespaceDescriptor)) {
|
JvmPropertyAccessorSignature jvmMethodSignature = typeMapper.mapSetterSignature(propertyDescriptor, OwnerKind.IMPLEMENTATION);
|
||||||
JvmPropertyAccessorSignature jvmMethodSignature = typeMapper.mapSetterSignature(propertyDescriptor, OwnerKind.IMPLEMENTATION);
|
setter = jvmMethodSignature != null ? jvmMethodSignature.getJvmMethodSignature().getAsmMethod() : null;
|
||||||
setter = jvmMethodSignature != null ? jvmMethodSignature.getJvmMethodSignature().getAsmMethod() : null;
|
|
||||||
} else {
|
|
||||||
setter = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (propertyDescriptor.getSetter() == null) {
|
if (propertyDescriptor.getSetter() == null) {
|
||||||
setter = null;
|
setter = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user