Hello , I have to do bytecode transformation , N...
# compiler
r
Hello , I have to do bytecode transformation , Now currently , all classes are final by default in kotlin(or not open) If I extend a non-open class ,
kotlinc
fails . Is there any way to bypass that failure ? Any way I can tweak
kotlinc
to turn off the failure ?
r
r
All-open compiler plugin require to pre-feed the annotations. In our case, annotations cannot be pre-fed Yes it surely opens the classes in compilation phase. That's why , wanted to know if there is any way we can tweak
kotlinc
to turn off the failure
r
what is the failure? All errors can usually be suppressed explicitly with @Suppress(“ERROR_CONSTANT_NAME”)
t
You have to consider that even when you succeed, you need to achieve the same on runtime as well.
r
This the error ``/NativeGreetingResourceIT.kt:[6,34] This type is final, so it cannot be inherited from GreetingResourceTest``