Fix generation of container initializers

The code creates temporary ConstExprValue with global_refs set to
nullptr and that's carried over to the final value. Doing so prevents
the deduplication mechanism to work correctly, causing all sorts of
runtime crashes.

Fixes #1636
Fixes #1608 (Even though it was already fixed by #1991)
9902b604cbLemonBoy committed on 4/28/2019, 5:13:42 PM· committed by Andrew Kelleyparent205e501
2 files changedLine totals unavailable