Quick compiler IR question. How do I instantiate a IrGetObjectValue? I'm seeting
DeclarationIrBuilder.irGetObjectValue
but I don't know how to produce the IrType and IrClassSymbol. Is there a way to get those if I have a full-path string to the object I'm trying to access?
s
shikasd
12/25/2023, 1:17 PM
Use
pluginContext.referenceClass
to resolve symbol and then class.defaultType to get the type