Add test for parameter hints on invoke()

This commit is contained in:
Dmitry Jemerov
2017-08-14 17:37:30 +02:00
parent 04464024fe
commit e5e5b56af0
@@ -140,6 +140,17 @@ class X {
""")
}
fun `test invoke`() {
check("""
fun main() {
val x = X()
x(<hint text="a:"/>10, x);
}
}
class X {
operator fun invoke(a: Int, bI: Int) {}
}
""")
}
}