[Test] Add ability to specify applicability of diagnostic to module or file

This commit is contained in:
Dmitriy Novozhilov
2021-01-15 14:54:05 +03:00
committed by TeamCityServer
parent 28cff22cd0
commit 6a7cd0c811
117 changed files with 266 additions and 189 deletions
+1 -1
View File
@@ -1,4 +1,5 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER
// SOURCE_RETENTION_ANNOTATIONS
// FILE: A.java
import com.android.annotations.*;
@@ -21,7 +22,6 @@ public class A<T> {
}
// FILE: main.kt
// SOURCE_RETENTION_ANNOTATIONS
fun main(a: A<String>, a1: A<String?>) {
a.foo("", null)?.length