Make `dartPathOf`, `relativeDartPathOf` have an input of `DartLibraryElement` instead of `IrFile`
wilkomanger opened this issue · 0 comments
wilkomanger commented
Currently we're creating a "fake" IrFile
in DartImportsLowering.kt:227
because of this. Move these methods out of DartNameGenerator
and make them have an input of DartLibraryElement
(maybe Path
?), creating wrappers for IrFile
s.
When this is done, remove DartIrFile
constructor function from DartIrProvider.kt