Test added: suppress on function reference #KT-15839 Obsolete
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
// See KT-15839
|
||||
|
||||
val x = "1".let(@Suppress("DEPRECATION") Integer::parseInt)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public val x: kotlin.Int
|
||||
@@ -267,6 +267,12 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/multifileClassPartWithJavaAnnotation.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("suppressOnFunctionReference.kt")
|
||||
public void testSuppressOnFunctionReference() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/annotationApplicability/suppressOnFunctionReference.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameterMustBeConstant")
|
||||
|
||||
Reference in New Issue
Block a user