Deprecate suppress annotation in favor of Suppress
This commit is contained in:
+1
-1
@@ -19,5 +19,5 @@ fun test(d: dynamic) {
|
||||
// Checking specificity of `dynamic` vs `Nothing`
|
||||
nothing(d).checkType { _<String>() }
|
||||
nothing("").checkType { _<Int>() }
|
||||
@suppress("UNREACHABLE_CODE") nothing(null!!).checkType { _<String>() }
|
||||
@Suppress("UNREACHABLE_CODE") nothing(null!!).checkType { _<String>() }
|
||||
}
|
||||
Reference in New Issue
Block a user