Re: private module members

2012-10-18 Thread Oleg Kuporosov
Is it in Bugzilla? > >> Bye, >> bearophile >> > > Thanks. I had assumed my interpretation was incorrect and was just looking > for an explanation. Honestly, until just now, I have not explored bugzilla. > There is bug 1141 which looks like what I'm asking about and references a > newer one 2830 wh

Re: private module members

2012-10-16 Thread Dan
On Tuesday, 16 October 2012 at 19:31:45 UTC, bearophile wrote: Dan: Why does this work (i.e. print 5)? It looks like a compiler bug/hole. DMD is not yet aligned to its specs... Is it in Bugzilla? Bye, bearophile Thanks. I had assumed my interpretation was incorrect and was just looking

Re: private module members

2012-10-16 Thread bearophile
Dan: Why does this work (i.e. print 5)? It looks like a compiler bug/hole. DMD is not yet aligned to its specs... Is it in Bugzilla? Bye, bearophile

private module members

2012-10-16 Thread Dan
According to the spec, private module members are equivalent to static declarations in C programs. Why does this work (i.e. print 5)? Both imported.d and sample.d are in same directory (.../attributes). Thanks Dan -- import