Don't resolve kotlin constructors from bytecode without JetConstructorAnnotation
This commit is contained in:
@@ -264,11 +264,21 @@ public class LoadCompiledKotlinTestGenerated extends AbstractLoadCompiledKotlinT
|
||||
doTest("compiler/testData/loadKotlin/constructor/Constructor1WithParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Constructor2WithOneParamDefaultValue.kt")
|
||||
public void testConstructor2WithOneParamDefaultValue() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/constructor/Constructor2WithOneParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorCollectionParameter.kt")
|
||||
public void testConstructorCollectionParameter() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/constructor/ConstructorCollectionParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithTwoDefArgs.kt")
|
||||
public void testConstructorWithTwoDefArgs() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/constructor/ConstructorWithTwoDefArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithTwoTypeParameters.kt")
|
||||
public void testConstructorWithTwoTypeParameters() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/constructor/ConstructorWithTwoTypeParameters.kt");
|
||||
@@ -294,6 +304,16 @@ public class LoadCompiledKotlinTestGenerated extends AbstractLoadCompiledKotlinT
|
||||
doTest("compiler/testData/loadKotlin/constructor/ConstructorWithTypeParametersEAndOnePValueParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InnerClassConstructorWithDefArgs.kt")
|
||||
public void testInnerClassConstructorWithDefArgs() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/constructor/InnerClassConstructorWithDefArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PrivateConstructor1WithParamDefaultValue.kt")
|
||||
public void testPrivateConstructor1WithParamDefaultValue() throws Exception {
|
||||
doTest("compiler/testData/loadKotlin/constructor/PrivateConstructor1WithParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/loadKotlin/dataClass")
|
||||
|
||||
+20
@@ -266,11 +266,21 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/Constructor1WithParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Constructor2WithOneParamDefaultValue.kt")
|
||||
public void testConstructor2WithOneParamDefaultValue() throws Exception {
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/Constructor2WithOneParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorCollectionParameter.kt")
|
||||
public void testConstructorCollectionParameter() throws Exception {
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/ConstructorCollectionParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithTwoDefArgs.kt")
|
||||
public void testConstructorWithTwoDefArgs() throws Exception {
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/ConstructorWithTwoDefArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithTwoTypeParameters.kt")
|
||||
public void testConstructorWithTwoTypeParameters() throws Exception {
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/ConstructorWithTwoTypeParameters.kt");
|
||||
@@ -296,6 +306,16 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/ConstructorWithTypeParametersEAndOnePValueParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InnerClassConstructorWithDefArgs.kt")
|
||||
public void testInnerClassConstructorWithDefArgs() throws Exception {
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/InnerClassConstructorWithDefArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PrivateConstructor1WithParamDefaultValue.kt")
|
||||
public void testPrivateConstructor1WithParamDefaultValue() throws Exception {
|
||||
doTestCheckingPrimaryConstructors("compiler/testData/loadKotlin/constructor/PrivateConstructor1WithParamDefaultValue.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/loadKotlin/dataClass")
|
||||
|
||||
Reference in New Issue
Block a user