[Issue 17606] New: dmd wrongly accepts field without type when annotated with a UDA
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 5 11:51:24 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17606
Issue ID: 17606
Summary: dmd wrongly accepts field without type when annotated
with a UDA
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: timothee.cour2 at gmail.com
DMD64 D Compiler v2.074.0
```
struct foo{}
struct A{
// compiles but shouldn't: missing bool
@foo
a=false;
}
```
--
More information about the Digitalmars-d-bugs
mailing list