Alexander Ioffe
09/22/2024, 5:37 PM!IrPluginContext.moduleDescriptor.getPackage(fqName).isEmpty()
Now in K2 when I try that I get:
Please use IR declaration properties and not its descriptor properties
Is there a different way to do this in K2?Javier
09/22/2024, 9:49 PMfoo.bar.baz
• foo.bar/baz.kt
(class baz
)
I guess it can be both and it would depend what you are askingAlexander Ioffe
09/23/2024, 1:13 AMmyExpr.type.classOrNull?.owner?.parents?.toList()?.find { it is IrFile }?.kotlinFqName