Fix interaction of `constinit` and `weak`.
We previously took a shortcut and said that weak variables never have constant initializers (because those initializers are never correct to use outside the variable). We now say that weak variables can have constant initializers, but are never usable in constant expressions.
parent
700e6329
Please register or sign in to comment