Is there a simple way to go from a IrClass or IrClassSymbol into an IrExpression representing the KClass of said IrClass/IrClassSymbol?
(another way to put this is, how do I create a
T::class
expression from an IrClass/IrClassSymbol?)
s
shikasd
06/07/2024, 7:06 AM
Easiest way to find out - dump IR with your expression and check the types/shape
👍 1
n
natario1
06/07/2024, 7:55 AM
If I remember correctly, it's called IrClassReference/IrClassReferenceImpl