www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17606] New: dmd wrongly accepts field without type when

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 puremagic.com
          Reporter: timothee.cour2 gmail.com

DMD64 D Compiler v2.074.0

```
struct foo{}

struct A{
  // compiles but shouldn't: missing bool
   foo
  a=false;
}

```

--
Jul 05