https://kotlinlang.org logo
#compiler
Title
# compiler
a

agta1991

09/18/2020, 9:06 AM
Hi! Is there any way of generating top level function (like SyntheticResolveExtension) from a Compiler plugin, I want to generate an entry point for an exeutable?
🚫 1
s

shikasd

09/18/2020, 7:54 PM
Only on JVM afaik. You can use
PackageFragmentProviderExtension
to add synthetic packages and top level functions in them :)
3 Views