D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 400 - forward reference error; no propety X for type Y (struct within struct)
Summary: forward reference error; no propety X for type Y (struct within struct)
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: rejects-valid
Depends on:
Blocks: 340
  Show dependency treegraph
 
Reported: 2006-10-05 01:31 UTC by Tomasz Stachowiak
Modified: 2014-02-15 13:19 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Tomasz Stachowiak 2006-10-05 01:31:09 UTC
struct Foo {
	Bar.Baz x;

	struct Bar {
		struct Baz {}
	}
}


// (2): no property 'Baz' for type 'Bar'
Comment 1 Walter Bright 2009-12-29 16:12:09 UTC
Changeset 319
Comment 2 Leandro Lucarella 2009-12-29 19:17:26 UTC
http://www.dsource.org/projects/dmd/changeset/319
Comment 3 Walter Bright 2009-12-31 11:10:01 UTC
Fixed dmd 1.054 and 2.038