digitalmars.D.bugs - [Issue 17911] New: UDA to scope cause Error
- d-bugmail puremagic.com (27/27) Oct 17 2017 https://issues.dlang.org/show_bug.cgi?id=17911
https://issues.dlang.org/show_bug.cgi?id=17911 Issue ID: 17911 Summary: UDA to scope cause Error Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: timosesu gmail.com The example for user defined attributes (UDA) on https://dlang.org/spec/attribute.html#uda does not work: (1) { (2) int a; // has UDA's (1, 2) ("string") int b; // has UDA's (1, "string") } causes: src\app.d(59,5): Error: basic type expected, not { src\app.d(59,5): Error: no identifier for declarator _error_ The same is caused by (1) {} DMD32 D Compiler v2.074.0 --
Oct 17 2017