Add test for #KT-28999
This commit is contained in:
@@ -3109,6 +3109,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/resolveFunctionInsideClassObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersInAnnonymousObject.kt")
|
||||
public void testTypeParametersInAnnonymousObject() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/typeParametersInAnnonymousObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersInObject.kt")
|
||||
public void testTypeParametersInObject() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/typeParametersInObject.kt");
|
||||
|
||||
Generated
+5
@@ -3104,6 +3104,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/resolveFunctionInsideClassObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersInAnnonymousObject.kt")
|
||||
public void testTypeParametersInAnnonymousObject() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/typeParametersInAnnonymousObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersInObject.kt")
|
||||
public void testTypeParametersInObject() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classObjects/typeParametersInObject.kt");
|
||||
|
||||
Reference in New Issue
Block a user