[FIR] Report errors about type arguments on resolved qualifiers
^KT-56186 Fixed ^KT-56187 Fixed ^KT-59553
This commit is contained in:
committed by
Space Team
parent
1b24b95cde
commit
6c7eb0167c
+24
@@ -3322,6 +3322,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/genericCallWithReferenceAgainstVarargAndKFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericTypealiasInLhs.kt")
|
||||
public void testGenericTypealiasInLhs() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/genericTypealiasInLhs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt15439_completeCall.kt")
|
||||
public void testKt15439_completeCall() throws Exception {
|
||||
@@ -4039,6 +4045,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/argumentExpectedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundViolated.kt")
|
||||
public void testBoundViolated() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/boundViolated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependOnArgumentType.kt")
|
||||
public void testDependOnArgumentType() throws Exception {
|
||||
@@ -4069,6 +4081,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/genericFunctionsWithNullableTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectNumberOfTypeArguments.kt")
|
||||
public void testIncorrectNumberOfTypeArguments() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/incorrectNumberOfTypeArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10968.kt")
|
||||
public void testKt10968() throws Exception {
|
||||
@@ -5374,6 +5392,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/classLiteral/nonClassesOnLHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterizedTypeAlias.kt")
|
||||
public void testParameterizedTypeAlias() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classLiteral/parameterizedTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedClassLiteral.kt")
|
||||
public void testQualifiedClassLiteral() throws Exception {
|
||||
|
||||
+24
@@ -3322,6 +3322,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/genericCallWithReferenceAgainstVarargAndKFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericTypealiasInLhs.kt")
|
||||
public void testGenericTypealiasInLhs() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/genericTypealiasInLhs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt15439_completeCall.kt")
|
||||
public void testKt15439_completeCall() throws Exception {
|
||||
@@ -4039,6 +4045,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/argumentExpectedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundViolated.kt")
|
||||
public void testBoundViolated() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/boundViolated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependOnArgumentType.kt")
|
||||
public void testDependOnArgumentType() throws Exception {
|
||||
@@ -4069,6 +4081,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/genericFunctionsWithNullableTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectNumberOfTypeArguments.kt")
|
||||
public void testIncorrectNumberOfTypeArguments() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/generic/incorrectNumberOfTypeArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10968.kt")
|
||||
public void testKt10968() throws Exception {
|
||||
@@ -5374,6 +5392,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/classLiteral/nonClassesOnLHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterizedTypeAlias.kt")
|
||||
public void testParameterizedTypeAlias() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/classLiteral/parameterizedTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedClassLiteral.kt")
|
||||
public void testQualifiedClassLiteral() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user