Do not report deprecation on readBytes with API version < 1.3
#KT-26667 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.io.InputStream
|
||||
|
||||
fun InputStream.test() {
|
||||
readBytes()
|
||||
|
||||
<!DEPRECATION!>readBytes<!>(1)
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun java.io.InputStream.test(): kotlin.Unit
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// !API_VERSION: 1.2
|
||||
|
||||
import java.io.InputStream
|
||||
|
||||
fun InputStream.test() {
|
||||
readBytes()
|
||||
|
||||
readBytes(1)
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun java.io.InputStream.test(): kotlin.Unit
|
||||
Reference in New Issue
Block a user