`resolutionCtx.ts`, the `withSlots` method. After the patch from #1853, the slots are resolved correctly, but inefficiently (one by one, instead of all at once).