Is this a new bug ?
Adam D Ruppe
destructionator at gmail.com
Sat Sep 24 11:52:49 UTC 2022
On Saturday, 24 September 2022 at 06:13:55 UTC, test123 wrote:
> If so please report it for me to bugs platform.
This isn't a bug, the effect of keyword: things stop at the
matching }.
(static if and version don't introduce a namespace scope, but
they still follow this rule for the { colon: ... } blocks)
You need to duplicate your uint test2 variable inside those
branches.
More information about the Digitalmars-d-learn
mailing list