diff --git a/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt b/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt index 68e51da5002..02989fc1994 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt @@ -4,6 +4,8 @@ // IGNORE_BACKEND: JS, JS_IR // WITH_REFLECT +package test + import kotlin.reflect.typeOf import kotlin.reflect.KClass import kotlin.reflect.KType @@ -33,7 +35,7 @@ fun box(): String { } val (w, f) = bar(q) // T should be inferred to KFunction and should be approximated to KFunction, not KFunction<*> - val expected = "KFunction" + val expected = "test.KFunction" if (w.toString() != expected) return "Fail 1: $w" if (typeOfValue(f).toString() != expected) return "Fail 2: $f" return "OK"