Hello 👋 Another K2 question here. Info can be found here. Issues with language level 2.0 and KSP
j
Jiaxiang
06/21/2023, 5:33 PM
KSP should still run with K2 compiler as KSP task is a separate task from the main compilation.
c
Christopher Porto
06/21/2023, 5:33 PM
@Jiaxiang Hmm yeah, not sure if this is related but that error message only came up after I used this flag
-Xuse-fir-lt=false
(disabling light tree mode) which I needed to use for my kotlin scripts to compile
Christopher Porto
06/21/2023, 5:57 PM
Ah... luckily the module I use custom kotlin scripts and KSP dont coincide so I was just able to exclude the compiler arg from the module that uses KSP. My mistake 😅
j
Jiaxiang
06/21/2023, 6:17 PM
When I was checking what that flag is for I found it says this flag is far from production ready.
c
Christopher Porto
06/21/2023, 6:36 PM
Ah didn't see that, compiler just suggested to disable flag for kotlinscript. Going to just go back to K1 for now anyways 😅 Thanks
Edit: Also think flag you found was