Fix unreported deprecation on variables called as functions
#KT-16272 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
@Deprecated("No")
|
||||
val f: () -> Unit = {}
|
||||
|
||||
fun test() {
|
||||
<!DEPRECATION!>f<!>()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
@kotlin.Deprecated(message = "No") public val f: () -> kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
Reference in New Issue
Block a user