Test data fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
data class A(val x: Int, val y: String) {
|
||||
data class <!CONFLICTING_JVM_DECLARATIONS!>A(val x: Int, val y: String)<!> {
|
||||
<!CONFLICTING_OVERLOADS!>fun component1()<!> = 1
|
||||
<!CONFLICTING_OVERLOADS!>fun component2()<!> = 2
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
data class C(val c: Int) {
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun `copy$default`(c: C, x: Int, m: Int)<!> = 1
|
||||
data class <!CONFLICTING_JVM_DECLARATIONS!>C(val c: Int)<!> {
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun `copy$default`(c: C, x: Int, m: Int)<!> = C(this.c)
|
||||
}
|
||||
+2
-2
@@ -26,9 +26,9 @@ var varx: Int
|
||||
set(v) {}
|
||||
|
||||
var vardef: Int = 1
|
||||
[platformName("f")]
|
||||
[platformName("h")]
|
||||
get
|
||||
[platformName("g")]
|
||||
[platformName("i")]
|
||||
set
|
||||
|
||||
[<!INAPPLICABLE_ANNOTATION!>platformName("C")<!>]
|
||||
|
||||
@@ -2742,9 +2742,9 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("componentInheritedFromTrait.kt")
|
||||
public void testComponentInheritedFromTrait() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/componentInheritedFromTrait.kt");
|
||||
@TestMetadata("dataClassCopy.kt")
|
||||
public void testDataClassCopy() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/dataClassCopy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaults.kt")
|
||||
|
||||
Reference in New Issue
Block a user