FIR: don't check annotations on returnTypeRefs that are not of real kind
This fixes an exception in FirAnnotationChecker where we tried to report repeated annotations on implicit type refs that have no source.
This commit is contained in:
committed by
Space Team
parent
c0961e91b8
commit
5a08d8da8d
+6
@@ -4870,6 +4870,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/removeOnAbstractMap.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatedAnnotations.kt")
|
||||
public void testRepeatedAnnotations() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/repeatedAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("runOnIntegerLiteral.kt")
|
||||
public void testRunOnIntegerLiteral() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user