[Issue 17911] UDA to scope cause Error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 16 11:14:26 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17911

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |enhancement

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
The { } attribute syntax is not supported for local variables:

void bar()
{
    const { int a = 3; }
}

It's never been supported, so it's not a regression. Marked as enhancement
request.

--


More information about the Digitalmars-d-bugs mailing list