Bug 13236 – Invalid recursive struct field error not gagged in 'is'-expression

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-08-01T12:47:00Z
Last change time
2017-07-19T17:38:56Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
timon.gehr

Comments

Comment #0 by timon.gehr — 2014-08-01T12:47:36Z
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.
Comment #1 by k.hara.pg — 2015-02-21T16:11:58Z
Comment #2 by github-bugzilla — 2015-02-27T11:21:57Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6bcabda72140387afd10b2e369e4a4f9750a20f1 fix Issue 13236 - Invalid recursive struct field error not gagged in 'is'-expression https://github.com/D-Programming-Language/dmd/commit/aee306108957e32b364804a58b64f6ea8d671954 Merge pull request #4432 from 9rnsr/fix13236 Issue 13236 - Invalid recursive struct field error not gagged in 'is'-expression
Comment #3 by github-bugzilla — 2015-06-17T21:01:12Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6bcabda72140387afd10b2e369e4a4f9750a20f1 fix Issue 13236 - Invalid recursive struct field error not gagged in 'is'-expression https://github.com/D-Programming-Language/dmd/commit/aee306108957e32b364804a58b64f6ea8d671954 Merge pull request #4432 from 9rnsr/fix13236
Comment #4 by github-bugzilla — 2017-07-19T17:38:56Z
Commits pushed to dmd-cxx at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/6bcabda72140387afd10b2e369e4a4f9750a20f1 fix Issue 13236 - Invalid recursive struct field error not gagged in 'is'-expression https://github.com/dlang/dmd/commit/aee306108957e32b364804a58b64f6ea8d671954 Merge pull request #4432 from 9rnsr/fix13236