chrmelchior
08/08/2023, 6:43 AMSyntheticResolveExtension and K2. We are currently trying to make our plugin K2 compatible but are running into a few problems. We cannot move to CompilerPluginRegistrar since we still depend on being able to control the ordering of plugins, but when we enable supportsK2 = true in ComponentRegistrar it doesn’t seem work. At least the extension is never run.
So right now I am assuming it is either a bug or SyntheticResolveExtension is not supported, but if it is the later what should we replace it with?dmitriy.novozhilov
08/08/2023, 10:03 AMSyntheticResolveExtension is K1 specific
K2 alternative is FirDeclarationGenerationExtensionchrmelchior
08/08/2023, 10:21 AMComponentRegistrar we need to detect what version of the compiler is running and either register FirDeclarationGenerationExtension or SyntheticResolveExtension or does FirDeclarationGenerationExtension also work with K1?dmitriy.novozhilov
08/08/2023, 10:51 AMchrmelchior
08/08/2023, 10:52 AM