What is the best way to obtain an `IrType` for a k...
# compiler
r
What is the best way to obtain an
IrType
for a known type given it’s fully qualified name and type arguments? I need to refer to a known type that is not in the
IrBuiltins
constants.
i
Yes. Something like
Copy code
jvmBackendContext.getTopLevelClass(fqName).createType(...)
Unfortunately,
getTopLevelClass
is internal, though.
😱 1