Fixed exception AssertionError: Illegal resolved call to variable with invoke

#KT-13330 Fixed
#KT-13349 Fixed
This commit is contained in:
Stanislav Erokhin
2016-08-03 17:11:40 +03:00
parent 926deebff5
commit 85a951db52
6 changed files with 49 additions and 2 deletions
@@ -0,0 +1,7 @@
object Foo {
operator fun <T> invoke() {}
}
fun main(args: Array<String>) {
Foo<Int>()
}