[Serialization] Fix invalid ir type for deserialize generator
This commit is contained in:
committed by
Space Team
parent
3496f69f33
commit
b4d6482581
+1
-1
@@ -354,7 +354,7 @@ open class SerializerIrGenerator(
|
||||
else -> null
|
||||
}
|
||||
return if (defaultPrimitive == null)
|
||||
irNull(compilerContext.irBuiltIns.anyNType) to (compilerContext.irBuiltIns.anyNType)
|
||||
T.makeNullable().let { irNull(it) to it }
|
||||
else
|
||||
defaultPrimitive to T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user