Report warning when SinceKotlin value is greater than -api-version value
To prevent this diagnostic be reported in each test on SinceKotlin, disable it when a diagnostic test contains the "!API_VERSION" directive
This commit is contained in:
@@ -70,5 +70,5 @@ fun ok2() {}
|
||||
@SinceKotlin("0.0.0")
|
||||
fun ok3() {}
|
||||
|
||||
@SinceKotlin("123456789012345678901234567890.123456789012345678901234567890.123456789012345678901234567890")
|
||||
<!NEWER_VERSION_IN_SINCE_KOTLIN!>@SinceKotlin("123456789012345678901234567890.123456789012345678901234567890.123456789012345678901234567890")<!>
|
||||
fun ok4() {}
|
||||
|
||||
Reference in New Issue
Block a user