[FIR] Resolve value class constructor to TYPES before using its params

Right now it is the easiest way to ensure that all the parameters are
resolved. After KT-53573 is fixed, we might use `resolvedReturnTypeRef`
on each parameter individually instead

Also, add `toString` implementation to `ValueClassRepresentation`
classes, so they are properly rendered in testdata

^KTIJ-22630 Fixed
This commit is contained in:
Roman Golyshev
2022-08-29 19:40:07 +02:00
committed by Space
parent 17f22c7204
commit 16cb3064c8
6 changed files with 213 additions and 2 deletions
@@ -0,0 +1,4 @@
@JvmInline
value class Value(val value: Int) {
fun resolveMe() {}
}