Hello! I've switched to 1.3.70 and got error in my compiler plugin when calling
IrType.isInterface
, got
Copy code
java.lang.IllegalStateException: Symbol for deserialized class Any is unbound.
As i understand this cause when getting owner from symbol of other module.
Please advice me how to solve it.
l
louiscad
03/04/2020, 12:53 PM
Can you link the report on kotl.in/issue with some details?
r
raniejade
03/13/2020, 11:25 AM
I have a similar problem @PHondogo did you file an issue for this? or maybe found a fix?
p
PHondogo
03/13/2020, 12:01 PM
As i understand, before calling reference.owner you should bound reference with Descriptor using pluginContext.symbolTable.referenceClass(classDescriptor).
r
raniejade
03/13/2020, 1:05 PM
I'm already doing that 🤷... Maybe I'm getting the class descriptor wrong. How did you get yours?