[Bug 159] forward reference with invalid struct

Kyle Furlong kylefurlong at gmail.com
Thu Jun 1 17:07:11 PDT 2006


d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/bugzilla/show_bug.cgi?id=159
> 
> 
> 
> 
> 
> ------- Comment #1 from bugzilla at digitalmars.com  2006-06-01 14:25 -------
> It's ok to declare a struct without { }. However, this won't work if the size
> of S is needed, as it is in S1. Hence, the error diagnostic.
> 
> 

Maybe a more helpful diagnostic then?

-- 
Kyle Furlong // Physics Undergrad, UCSB

"D is going wherever the D community wants it to go." - Walter Bright



More information about the Digitalmars-d-bugs mailing list