August 01, 2014 [Issue 13236] New: Invalid recursive struct field error not gagged in 'is'-expression | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation