2513 – Silent error for tupleof from forward reference

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2513 - Silent error for tupleof from forward reference
Summary: Silent error for tupleof from forward reference
Status: RESOLVED DUPLICATE of issue 2085
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 All
: P2 normal
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks: 340
Show dependency tree / graph
Reported: 2008年12月13日 14:30 UTC by BCS
Modified: 2014年03月01日 00:37 UTC (History)
2 users (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description BCS 2008年12月13日 14:30:59 UTC
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 Don 2010年03月15日 12:22:21 UTC
Bug 2085 and bug 2885 are probably the same as this.
Comment 2 Don 2012年05月14日 08:23:28 UTC
*** This issue has been marked as a duplicate of issue 2085 ***


AltStyle によって変換されたページ (->オリジナル) /