[FIR] Make light tree consistent with raw FIR for empty init case
This commit is contained in:
+1
-1
@@ -726,7 +726,7 @@ class DeclarationsConverter(
|
||||
source = anonymousInitializer.toFirSourceElement()
|
||||
session = baseSession
|
||||
origin = FirDeclarationOrigin.Source
|
||||
body = if (stubMode) buildEmptyExpressionBlock() else firBlock
|
||||
body = if (stubMode) buildEmptyExpressionBlock() else firBlock ?: buildEmptyExpressionBlock()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user