[FIR] Fix IrInlineBodiesHandler

Validate that inline function actually is present in at least on of the
modules, not in all of them. That enables support of MODULE directive
in boxInline tests for FIR.

Also, hide a few minor style fixes in this commit
This commit is contained in:
Vsevolod Tolstopyatov
2022-07-25 16:14:27 +02:00
committed by Space
parent 3a2d69225c
commit 2fcef7af89
4 changed files with 7 additions and 9 deletions
@@ -197,6 +197,7 @@ object FirSessionFactory : FirAbstractSessionFactory() {
}
}
@OptIn(SessionConfiguration::class)
@TestOnly
fun createEmptySession(): FirSession {
return object : FirSession(null, Kind.Source) {}.apply {