Implemented fast search for invoke operator calls

#KT-13643 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-08-31 22:41:47 +03:00
parent e1c7d07189
commit e3b37f9219
13 changed files with 197 additions and 12 deletions
+10
View File
@@ -0,0 +1,10 @@
class B(val n: Int) {
operator fun <caret>invoke(i: Int){}
}
fun f() = B(1)
fun test() {
f(1).invoke(2)
f(2)(2)
}