[Issue 3740] Regression: class with fwd reference of a nested struct breaks abstract
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 25 03:18:17 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3740
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Summary|build tango error |Regression: class with fwd
| |reference of a nested
| |struct breaks abstract
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-01-25 03:18:16 PST ---
Reduced test case. If a class contains a forward reference of a nested struct,
it stays abstract.
-----------------
abstract class Address {
abstract int nameLen();
}
class Class3740 : Address {
FwdStruct z;
struct FwdStruct { }
int nameLen() { return 0; }
}
void cantdo () {
Class3740 xxx = new Class3740;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list