Supported methods with default arguments in partial package compilation.

This commit is contained in:
Evgeny Gerashchenko
2014-08-28 17:06:43 +04:00
parent 3226093fa6
commit 35720ff46d
6 changed files with 26 additions and 0 deletions
@@ -187,6 +187,11 @@ public class PackageCodegen {
}
}
);
memberCodegen.functionCodegen.generateDefaultIfNeeded(
context.intoFunction(function), signature, function, OwnerKind.PACKAGE,
DefaultParameterValueLoader.DEFAULT, null);
}
else if (member instanceof DeserializedPropertyDescriptor) {
memberCodegen.propertyCodegen.generateInPackageFacade((DeserializedPropertyDescriptor) member);