hi ,anyone, I use IrPluginContext#referenceFunctio...
# compiler
j
hi ,anyone, I use IrPluginContext#referenceFunctions(FqName) to refer a static function(the function is in dependency lib)always return empty.But when the state function in current Module, referenceFunctions can return right value.
j
It will be deprecated
Copy code
@FirIncompatiblePluginAPI("Use callableId overload instead")
fun referenceFunctions(fqName: FqName): Collection<IrSimpleFunctionSymbol>
you can try this, but maybe you get the same error 🤷
Copy code
fun referenceFunctions(callableId: CallableId): Collection<IrSimpleFunctionSymbol>