Removed tooltip for variable as function(-like) call.

This commit is contained in:
Evgeny Gerashchenko
2013-04-04 16:22:51 +04:00
parent 73d44fb18b
commit 50b2f79b2e
4 changed files with 14 additions and 49 deletions
@@ -1,21 +0,0 @@
class FunctionLike {
fun invoke() {
}
}
val <info>property</info> = {}
fun foo(param: (Int) -> Int, functionLike: FunctionLike) {
<info descr="Calling parameter as function">param</info>(1)
<info descr="Calling parameter as function-like">functionLike</info>()
val v1 = param
var v2 = param
<info descr="Calling variable as function">v1</info>(1)
<info descr="Calling variable as function">v2</info>(1)
<info descr="Calling property as function">property</info>();
{}() //should not be highlighted as "calling variable as function"
}