Fix unreported deprecation on variables called as functions

#KT-16272 Fixed
This commit is contained in:
Alexander Udalov
2017-02-10 18:06:40 +03:00
parent 6793861fd4
commit 57f2feb6fb
5 changed files with 36 additions and 31 deletions
@@ -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