[FIR-TEST] Move nestedClassConstructor test to problems test suite
This commit is contained in:
+4
@@ -1,3 +1,7 @@
|
||||
/*
|
||||
* We see same constructor of `B` in two scopes
|
||||
*/
|
||||
|
||||
class A() {
|
||||
class B() : A() {
|
||||
fun copy() = <!AMBIGUITY!>B<!>()
|
||||
+5
-5
@@ -133,11 +133,6 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
|
||||
runTest("compiler/fir/resolve/testData/resolve/nestedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedClassContructor.kt")
|
||||
public void testNestedClassContructor() throws Exception {
|
||||
runTest("compiler/fir/resolve/testData/resolve/nestedClassContructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedOfAliasedType.kt")
|
||||
public void testNestedOfAliasedType() throws Exception {
|
||||
runTest("compiler/fir/resolve/testData/resolve/NestedOfAliasedType.kt");
|
||||
@@ -783,6 +778,11 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/fir/resolve/testData/resolve/problems"), Pattern.compile("^([^.]+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("nestedClassContructor.kt")
|
||||
public void testNestedClassContructor() throws Exception {
|
||||
runTest("compiler/fir/resolve/testData/resolve/problems/nestedClassContructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyFromJavaPlusAssign.kt")
|
||||
public void testPropertyFromJavaPlusAssign() throws Exception {
|
||||
runTest("compiler/fir/resolve/testData/resolve/problems/propertyFromJavaPlusAssign.kt");
|
||||
|
||||
Reference in New Issue
Block a user