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.