Get rid of 'BRIDGE' flag on $default functions
#KT-24415 Fixed
This commit is contained in:
@@ -1189,7 +1189,7 @@ public class FunctionCodegen {
|
||||
AsmUtil.NO_FLAG_PACKAGE_PRIVATE : Opcodes.ACC_PUBLIC;
|
||||
int flags = visibilityFlag | getDeprecatedAccessFlag(functionDescriptor) | ACC_SYNTHETIC;
|
||||
if (!(functionDescriptor instanceof ConstructorDescriptor)) {
|
||||
flags |= ACC_STATIC | ACC_BRIDGE;
|
||||
flags |= ACC_STATIC;
|
||||
}
|
||||
|
||||
Method defaultMethod = typeMapper.mapDefaultMethod(functionDescriptor, kind);
|
||||
|
||||
Reference in New Issue
Block a user