digitalmars.D.bugs - [Issue 13236] New: Invalid recursive struct field error not gagged
- via Digitalmars-d-bugs (22/22) Aug 01 2014 https://issues.dlang.org/show_bug.cgi?id=13236
https://issues.dlang.org/show_bug.cgi?id=13236 Issue ID: 13236 Summary: Invalid recursive struct field error not gagged in 'is'-expression Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: timon.gehr gmx.ch pragma(msg, is(typeof({struct S{S x;}}))); fails with: false obug.d(2): Error: struct obug.__lambda2.S cannot have field x with same struct type This error should not occur. --
Aug 01 2014