D issues are now
tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Summary: |
Silent error for tupleof from forward reference |
Product: |
D
|
Reporter: |
BCS <shro8822> |
Component: |
dmd | Assignee: |
No Owner <nobody> |
Status: |
RESOLVED
DUPLICATE
|
Severity: |
normal
|
CC: |
clugdbug, smjg
|
Priority: |
P2
|
Keywords: |
wrong-code |
Version: |
D1 (retired) |
Hardware: |
x86 |
OS: |
All |
Issue Depends on: |
Issue Blocks: |
340
|
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
Bug 2085 and bug 2885 are probably the same as this.
*** This issue has been marked as a duplicate of issue 2085 ***