accessor for private constructors #KT-2716 fixed

also on the way done small refactoring of JetTypeMapper
- few code duplicates replace by methods
- mapToCallableMethod(ConstructorDescriptor) introduced
This commit is contained in:
Alex Tkachman
2012-09-12 10:31:48 +03:00
parent fb4d6610a8
commit 79c04038fb
7 changed files with 86 additions and 66 deletions
@@ -32,6 +32,11 @@ public class FunctionGenTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
}
public void testKt2716() throws Exception {
blackBoxFile("regressions/kt2716.kt");
// System.out.println(generateToText());
}
public void testDefaultArgs() throws Exception {
blackBoxFile("functions/defaultargs.jet");
// System.out.println(generateToText());