Implementation is heavily based on the evaluation code for initializer lists, but it's different enough that I couldn't figure out a good way to share the code. This fixes one of the few remaining gaps where CodeGen can constant-evaluate a value which AST can't evaluate.
108 KiB
108 KiB