www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Error in TDPL? Order of static constructors

reply Norbert Nemec <Norbert Nemec-online.de> writes:
Not quite sure: Page 189, bullet points 3 and 4 seem to be turned around.

The imported module runs before the importing module. Testing DMD 
confirms my understanding. Am I understanding the text correctly?

Greetings,
Norbert
Jul 02 2010
parent Alix Pexton <alix.DOT.pexton gmail.DOT.com> writes:
On 02/07/2010 08:49, Norbert Nemec wrote:
 Not quite sure: Page 189, bullet points 3 and 4 seem to be turned around.

 The imported module runs before the importing module. Testing DMD
 confirms my understanding. Am I understanding the text correctly?

 Greetings,
 Norbert

I think you are right ^^ A...
Jul 02 2010