78ef58bef4
- `LibraryBinary` should not contain any decompiled files, as we want FIR symbols in tests to be provided from indexed stubs or class files, but definitely not from decompiled PSI. This brings `LibraryBinary` much closer to the behavior of binary libraries in the IDE. - Some tests may still require access to a decompiled file, for example when trying to test `getOrBuildFir` for some `KtElement` coming from a library. This commit introduces `LibraryBinaryDecompiled`, which does contain decompiled files. - We don't really need `LibraryBinary` as a main test module kind anymore, since tests generally want to access some main `KtFile`. Hence, test configurators for `LibraryBinary` have been turned into configurators for `LibraryBinaryDecompiled`. - An alternative would be decompiling files on demand, but this is not currently feasible because the Standalone API doesn't reconcile stubs with decompiled PSI, like the IDE does automatically. (For the same declaration, the stub and the PSI will have a different identity.) As long as there is no support for this, we'll have to rely on a separate test module kind. ^KT-65960