[IR] Run lateinit lowerings on local declarations
This commit is contained in:
+4
-2
@@ -91,8 +91,10 @@ internal val arrayConstructorPhase = makeKonanModuleLoweringPhase(
|
||||
|
||||
internal val lateinitPhase = makeKonanModuleOpPhase(
|
||||
{ context, irModule ->
|
||||
NullableFieldsForLateinitCreationLowering(context).lower(irModule)
|
||||
NullableFieldsDeclarationLowering(context).lower(irModule)
|
||||
NullableFieldsForLateinitCreationLowering(context)
|
||||
.runPostfix(true).toFileLoweringPass().lower(irModule)
|
||||
NullableFieldsDeclarationLowering(context)
|
||||
.runPostfix(true).toFileLoweringPass().lower(irModule)
|
||||
LateinitUsageLowering(context).lower(irModule)
|
||||
},
|
||||
name = "Lateinit",
|
||||
|
||||
Reference in New Issue
Block a user