3c9a02e271
Use class instead of type because MyType<T> and MyType<Int> are different types, therefore map lookup was failing. Fixes https://github.com/Kotlin/kotlinx.serialization/issues/533