bug? (forward reference)
Stewart Gordon
smjg_1998 at yahoo.com
Sun Apr 22 10:20:55 PDT 2007
"bobef" <asd at asd.asd> wrote in message news:f0a3gg$50r$1 at digitalmars.com...
> Is this a bug and if not what is it supposed to mean and why it doesn't
> work?
Actually, it's a documented restriction:
http://www.digitalmars.com/d/declaration.html#AutoDeclaration
"The NonVoidInitializer cannot contain forward references (this restriction
may be removed in the future)."
That said, I'm wondering _what_ NonVoidInitializer!
But it's certainly something that should be made to work.
Stewart.
More information about the Digitalmars-d-bugs
mailing list