. i tried debugging it, having a hard time because of intellij issues, but as i understand it, ksp runs in a completely different (earlier) phase than allOpen. Is there a workaround for this?
j
Jiaxiang
06/13/2023, 5:17 PM
You can try to set
blockOtherCompilerPlugins
to false to see if it helps. But chances are it might not work depending on which compiler phase is
allOpen
hooked into.
y
yawkat
06/14/2023, 7:35 AM
yea it doesnt help. allopen uses a FirStatusTransformerExtension, i assume that runs later.
yawkat
06/14/2023, 7:36 AM
do you think this can be fixed either in allopen or with ksp? or will we need to change our processor to disregard
KSDeclaration.isOpen()
j
Jiaxiang
06/14/2023, 6:12 PM
are you using the K2 version of allopen given the extension you said? In that case KSP won’t work because KSP currently works only on non-K2 compiler. It is not fixable at the moment to make these 2 plugins work together, a solution is still WIP and please wait for a few months before any updates.
y
yawkat
06/15/2023, 6:46 AM
oh i didnt realize the Fir stuff was k2. we are not using k2. but i will make a workaround to ignore isOpen for now, then.