Test that Javac does not fail on two methods that differ only by return type
This commit is contained in:
+5
@@ -132,6 +132,11 @@ public class CompileJavaAgainstKotlinTestGenerated extends AbstractCompileJavaAg
|
||||
doTest("compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntegerArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClashingSignaturesWithoutReturnType.kt")
|
||||
public void testClashingSignaturesWithoutReturnType() throws Exception {
|
||||
doTest("compiler/testData/compileJavaAgainstKotlin/method/ClashingSignaturesWithoutReturnType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultMethod.kt")
|
||||
public void testDefaultMethod() throws Exception {
|
||||
doTest("compiler/testData/compileJavaAgainstKotlin/method/DefaultMethod.kt");
|
||||
|
||||
Reference in New Issue
Block a user