diff --git a/ets2panda/compiler/lowering/phase.cpp b/ets2panda/compiler/lowering/phase.cpp index c588a5e35970eddd4174be31ed14ebbb628b877e..081702c6be9338c27913d392b55ce90ef358d779 100644 --- a/ets2panda/compiler/lowering/phase.cpp +++ b/ets2panda/compiler/lowering/phase.cpp @@ -152,6 +152,7 @@ std::vector GetETSPhaseList() new TypeFromLowering, new PrimitiveConversionPhase, new UnionLowering, + new UnboxPhase, // pluginsAfterLowerings has to come at the very end, nothing should go after it new PluginPhase{g_pluginsAfterLowering, ES2PANDA_STATE_LOWERED, &util::Plugin::AfterLowerings},