IR fix DNN type mangling

This commit is contained in:
Dmitry Petrov
2022-02-09 19:15:46 +03:00
committed by Space
parent 4326e26907
commit 1fd2b9c9d9
@@ -191,6 +191,10 @@ abstract class IrMangleComputer(protected val builder: StringBuilder, private va
mangleTypePlatformSpecific(type, tBuilder)
}
is IrDynamicType -> tBuilder.appendSignature(MangleConstant.DYNAMIC_MARK)
is IrDefinitelyNotNullType -> {
// TODO mangle DNN type differently from original simple type?
mangleType(tBuilder, type.original)
}
is IrErrorType -> tBuilder.appendSignature(MangleConstant.ERROR_MARK)
else -> error("Unexpected type $type")
}