[NI] Fix tests (was a type checker bug, see KT-18380)

This commit is contained in:
Dmitry Petrov
2017-06-09 11:15:10 +03:00
committed by Mikhail Zarechenskiy
parent d4e8a30dcf
commit 756f7d6e9c
3 changed files with 5 additions and 5 deletions
@@ -14,7 +14,7 @@ class M {
fun topLevelFun() {}
val topLevelProp = ""
fun checkEquals(x: KCallable<*>, y: KCallable<*>) {
fun <T> checkEquals(x: KCallable<T>, y: KCallable<T>) {
assertEquals(x, y)
assertEquals(y, x)
assertEquals(x.hashCode(), y.hashCode())