Hello, what do I need to do if I want my transformer to skip code inside the specific lambda block?
Copy code
inline fun keepOriginal(fn:()->Unit){
fn()
}
@ToBeProcessed
fun Component(){
//code here will be modified by the compiler plugin
keepOriginal{
//code here will not be modified
}
}
s
shikasd
11/10/2023, 6:54 AM
Just return the original function you get as a parameter instead of visiting it