Move: Fix processing of implicit extension 'invoke' calls

Also fix bogus "unused import" inspection reported on such calls

 #KT-17496 Fixed
This commit is contained in:
Alexey Sedunov
2017-04-20 15:18:45 +03:00
parent c492f339e6
commit f575e2710f
21 changed files with 250 additions and 11 deletions
@@ -0,0 +1,7 @@
package foo
class CrExtended
val funExtension = fun CrExtended.(): Unit {}
// WITH_RUNTIME
@@ -0,0 +1,10 @@
package bar
import foo.CrExtended
import foo.funExtension
fun test() {
CrExtended().funExtension()
}
// WITH_RUNTIME