[FIR-TEST] Remove unnecessary test
This commit is contained in:
-13
@@ -1,13 +0,0 @@
|
|||||||
interface A
|
|
||||||
|
|
||||||
interface B : A
|
|
||||||
|
|
||||||
val A.name: String?
|
|
||||||
get() = ""
|
|
||||||
|
|
||||||
val B?.name: String?
|
|
||||||
get() = ""
|
|
||||||
|
|
||||||
fun test(b: B) {
|
|
||||||
val id = b.<!AMBIGUITY!>name<!>
|
|
||||||
}
|
|
||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
FILE: ambiguityOnExtensionFunctions.kt
|
|
||||||
public abstract interface A : R|kotlin/Any| {
|
|
||||||
}
|
|
||||||
public abstract interface B : R|A| {
|
|
||||||
}
|
|
||||||
public final val R|A|.name: R|kotlin/String?|
|
|
||||||
public get(): R|kotlin/String?| {
|
|
||||||
^ String()
|
|
||||||
}
|
|
||||||
public final val R|B?|.name: R|kotlin/String?|
|
|
||||||
public get(): R|kotlin/String?| {
|
|
||||||
^ String()
|
|
||||||
}
|
|
||||||
public final fun test(b: R|B|): R|kotlin/Unit| {
|
|
||||||
lval id: <ERROR TYPE REF: Ambiguity: name, [/name, /name]> = R|<local>/b|.<Ambiguity: name, [/name, /name]>#
|
|
||||||
}
|
|
||||||
-5
@@ -1061,11 +1061,6 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/resolve/testData/resolve/problems"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/resolve/testData/resolve/problems"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("ambiguityOnExtensionFunctions.kt")
|
|
||||||
public void testAmbiguityOnExtensionFunctions() throws Exception {
|
|
||||||
runTest("compiler/fir/resolve/testData/resolve/problems/ambiguityOnExtensionFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("asImports.kt")
|
@TestMetadata("asImports.kt")
|
||||||
public void testAsImports() throws Exception {
|
public void testAsImports() throws Exception {
|
||||||
runTest("compiler/fir/resolve/testData/resolve/problems/asImports.kt");
|
runTest("compiler/fir/resolve/testData/resolve/problems/asImports.kt");
|
||||||
|
|||||||
Generated
-5
@@ -1061,11 +1061,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/resolve/testData/resolve/problems"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/resolve/testData/resolve/problems"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("ambiguityOnExtensionFunctions.kt")
|
|
||||||
public void testAmbiguityOnExtensionFunctions() throws Exception {
|
|
||||||
runTest("compiler/fir/resolve/testData/resolve/problems/ambiguityOnExtensionFunctions.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("asImports.kt")
|
@TestMetadata("asImports.kt")
|
||||||
public void testAsImports() throws Exception {
|
public void testAsImports() throws Exception {
|
||||||
runTest("compiler/fir/resolve/testData/resolve/problems/asImports.kt");
|
runTest("compiler/fir/resolve/testData/resolve/problems/asImports.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user