[AA LC] Keep original qualifier while translating error cone types to Psi types
This commit is contained in:
committed by
Space Team
parent
a3b9f15ecc
commit
d5a76a1b3b
@@ -58,7 +58,8 @@ object AbstractTypeMapper {
|
||||
sw: Writer? = null
|
||||
): Type {
|
||||
if (type.isError()) {
|
||||
val jvmType = Type.getObjectType(NON_EXISTENT_CLASS_NAME)
|
||||
val name = type.getNameForErrorType() ?: NON_EXISTENT_CLASS_NAME
|
||||
val jvmType = Type.getObjectType(name)
|
||||
with(context) { sw?.writeGenericType(type, jvmType, mode) }
|
||||
return jvmType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user