Beef
Beef copied to clipboard
[Bug/Enhancement?] Can't use statement expressions to initialize constants
This doesn't work but I think it should:
const int = { int x = 123; x }; // Error: Expression does not evaluate to a constant value.
Similar to #1278. Not a huge deal, but it would be nice if the error message was at least changed if this doesn't work by design.