On Tue, 06 Jan 2015 21:25:49 +0000 Suliman via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> On Tuesday, 6 January 2015 at 21:19:38 UTC, bearophile wrote: > > Suliman: > > > >> void foo() > >> { > >> writeln("test"); > >> writeln(mystring); > >> } > >> foo(); <<<<< > >> } > > > > I guess you have to remove that line. > > > > Bye, > > bearophile > > Why? I can't call function in instance of class? 'cause dlang specs (which you read with a great care, aren't you?) doesn't allow it.
signature.asc
Description: PGP signature