Open y9san9 opened 4 years ago
Crossinline is necessary to preserve reification, but maybe it is not necessary in most cases. Can you show me how you are calling the function ?
@Wicpar Im not calling the function, it is compile error, but Idk why it shows only in compile log, not in ide
Ah it could be a jdk version mismatch.
@Wicpar I found that is JVM bug, but if crossinline is necessary in your case then ok
I am making DSL for your framework and when I'm trying to make wrapper function the method and getting an internal JVM exception cause of invalid bytecode generation
I haven't found the real solution, but in my case changing 'crossinline' modifier to 'noinline' helped, can you ask, why are you using the first one ?
or may be even can you replace crossinline into noinine ?