[Issue 13236] New: Invalid recursive struct field error not gagged in 'is'-expression
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Aug 1 05:47:36 PDT 2014
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 at puremagic.com
Reporter: timon.gehr at 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.
--
More information about the Digitalmars-d-bugs
mailing list