FIR checker: fix diagnostic parameter renderer

Some of the current renderer is fallbacking to `toString` and output the
fully qualified class name with hash code.
This commit is contained in:
Tianyu Geng
2021-03-16 14:09:09 -07:00
committed by Dmitriy Novozhilov
parent f38c0cf348
commit c198c57e62
14 changed files with 41 additions and 78 deletions
@@ -1,9 +1,7 @@
// IGNORE_FIR
package name.that.may.be.very.long
import java.io.Serializable
interface Foo<T> : Comparable<Foo<T>>, Serializable, Cloneable
fun test(<warning>f</warning>: <error descr="[WRONG_NUMBER_OF_TYPE_ARGUMENTS] One type argument expected for interface Foo<T>">Foo</error>) {}
fun test(f: <error descr="[WRONG_NUMBER_OF_TYPE_ARGUMENTS] One type argument expected for name/that/may/be/very/long/Foo">Foo</error>) {}