Walter Bright wrote: > Hasan Aljudy wrote: >> Is there a reason why this shouldn't work?! It seems to me this is the >> most basic usage for mixin & compile time functions. > > Try putting the definition of getstruct() before the mixin. Ah!! Thanks :D It's considered a bug though, isn't it? this dependency on the order of declaration ...