[LL FIR] do not create lazy bodies during on-air resolve in scripts

We assume that on-air resolve already has normal bodies,
so depending on this fact, we can omit some redundant work

^KT-61026 Fixed
This commit is contained in:
Dmitrii Gridin
2023-08-07 16:10:49 +02:00
committed by Space Team
parent 601ffb2db4
commit 734a3e5716
10 changed files with 79 additions and 8 deletions
@@ -249,7 +249,7 @@ private fun AnalysisApiTestGroup.generateAnalysisApiComponentsTests() {
component("referenceShortener", filter = frontendIs(FrontendKind.Fir) and analysisSessionModeIs(AnalysisSessionMode.Normal)) {
test(AbstractReferenceShortenerTest::class) {
model("referenceShortener")
model("referenceShortener", pattern = TestGeneratorUtil.KT_OR_KTS)
}
test(AbstractReferenceShortenerForWholeFileTest::class) {
model("referenceShortenerWholeFile", pattern = TestGeneratorUtil.KT_OR_KTS)