Refine deprecation diagnostics for mod depending on api version
#KT-25217 Fixed #KT-26654 Open
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// !API_VERSION: 1.1
|
||||
|
||||
fun test() {
|
||||
1.<!DEPRECATION!>mod<!>(3)
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun test(): kotlin.Unit
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// !API_VERSION: 1.2
|
||||
|
||||
fun test() {
|
||||
1.<!DEPRECATION!>mod<!>(3)
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun test(): kotlin.Unit
|
||||
Reference in New Issue
Block a user