Currently our compiler backends may shortcut and stop emitting a const instance if it already has seen it in one loading unit.
We should change the semantics so that all loading units are correctly supported.
I believe calls are already always recorded, but we don't have tests for it.
(Follow up of #3022)
(Orthogonal and related: #3092)