I'm still stuck on generating top-level functions ...
# compiler
t
I'm still stuck on generating top-level functions from FIR. Do anyone have a working example of top-level function or class generation from FIR? My plugin compiles, the tests are successful, but when the plugin is applied to user code the JS compilation fails in
serializeModuleIntoKlib
at
assert(files.size == moduleFragment.files.size)
.
d
t
Ouch. (I've found this one before but I've been hoping...) Thanks anyway.