[NI] Report not-a-class LHS error for callable reference arguments

^KT-37531 Fixed
This commit is contained in:
Pavel Kirpichenkov
2020-03-26 19:31:20 +03:00
parent b7ea590e23
commit 0abe3a6c39
4 changed files with 29 additions and 1 deletions
@@ -2,10 +2,12 @@ package
public fun </*0*/ U : kotlin.Any> bar(): [ERROR : Error function type]
public fun </*0*/ T> foo(): [ERROR : Error function type]
public fun take(/*0*/ arg: kotlin.Any): kotlin.Unit
public final class A</*0*/ T, /*1*/ U : kotlin.Any> {
public constructor A</*0*/ T, /*1*/ U : kotlin.Any>()
public final fun bar(): [ERROR : Error function type]
public final fun baz(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(): [ERROR : Error function type]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int