Alex Rønne Petersen:

The static keyword has no effect on module functions, so 2 and 3 are equivalent.

This problem is caused by DMD sloppyness regarding its management of attributes. A serious language doesn't accept a keyword like "static" where it has no meaning. It just causes confusion to newbies, and makes it harder to port D code across future D compilers...

Bye,
bearophile

Reply via email to