Bug 2513 – Silent error for tupleof from forward reference

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2008-12-13T14:30:00Z
Last change time
2014-03-01T00:37:02Z
Keywords
wrong-code
Assigned to
nobody
Creator
shro8822
Blocks
340

Comments

Comment #0 by shro8822 — 2008-12-13T14:30:59Z
The two pragmas don't generate the same output. pragma(msg,S.tupleof.stringof); // null output struct S { int i; uint j; float k; } pragma(msg,S.tupleof.stringof); // normal output does not exist in 1.026
Comment #1 by clugdbug — 2010-03-15T12:22:21Z
Bug 2085 and bug 2885 are probably the same as this.
Comment #2 by clugdbug — 2012-05-14T08:23:28Z
*** This issue has been marked as a duplicate of issue 2085 ***