On 2012-12-10 23:15, Walter Bright wrote:
The syntax will be:@(attributes) and: @identifier although the latter isn't implemented yet.
Pull 1395.
struct Foo1 {}
@Foo int x1;
struct Foo2 (string bar) {}
@Foo!"asd" int x2;
@Foo!("asd") int x22;
struct Foo3 (string bar) { int a; }
@Foo!"asd"(3) int x3;
@Foo!("asd")(3) int x32;
https://github.com/D-Programming-Language/dmd/pull/1365
--
/Jacob Carlborg
