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

Nathan Bedell

11/12/2021, 1:15 AM
Hi, does anyone know how to obtain a
ModuleDescriptor
from a
KtFile
in version 1.5.0 of the
kotlin-compiler-embeddable
? I'm working on a compiler plugin, and using some utilities from forge that require a
ModuleDescriptor
in their API, but I can't figure out how to properly construct one from a
KtFile
.
Of course, right after posting this I find another way to get the right
ModuleDescriptor
anyway.
3 Views