[Analysis API] separate non-class error types from class error types and add information about type qualifiers

it's needed for type printing in renderer
This commit is contained in:
Ilya Kirillov
2022-10-14 15:35:03 +02:00
parent 210212c284
commit 725ae1fc65
35 changed files with 510 additions and 83 deletions
@@ -15,7 +15,7 @@ class ErrorType @JvmOverloads internal constructor(
val kind: ErrorTypeKind,
override val arguments: List<TypeProjection> = emptyList(),
override val isMarkedNullable: Boolean = false,
private vararg val formatParams: String
vararg val formatParams: String
) : SimpleType() {
val debugMessage = String.format(kind.debugMessage, *formatParams)