xxx$default() function should be visible from Java

This commit is contained in:
Andrey Breslav
2014-01-23 15:58:25 +04:00
parent 39234b4d3e
commit b66a76e7d2
4 changed files with 13 additions and 1 deletions
@@ -508,7 +508,7 @@ public class FunctionCodegen extends ParentCodegenAwareImpl {
Method jvmSignature = signature.getAsmMethod();
int flags = ACC_PUBLIC | ACC_SYNTHETIC; // TODO.
int flags = getVisibilityAccessFlag(functionDescriptor) | getDeprecatedAccessFlag(functionDescriptor);
Type ownerType;
if (contextClass instanceof PackageFragmentDescriptor) {