Fix for EA-53605 - UOE: PackageType.throwException
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
object A {
|
||||
class B
|
||||
fun foo() = 1
|
||||
object Bar{}
|
||||
}
|
||||
|
||||
fun test<T>(a: T) {
|
||||
val c = (a as A)
|
||||
c.<error descr="[FUNCTION_EXPECTED] Expression 'B' of type '[Package-type B]' cannot be invoked as a function. The function invoke() is not found"><error>B</error></error>()
|
||||
}
|
||||
Reference in New Issue
Block a user