Thanks! a module declaration gets around that one.
http://dpaste.dzfl.pl/cff0ca5a line 21


On Wed, Sep 4, 2013 at 1:18 PM, Jacob Carlborg <doob@me.com> wrote:
On 2013-09-04 13:01, Rory McGuire wrote:
yip, :) can't think of a reason except it was interesting. wish dmd
didn't segfault when I used __MODULE__.

on the plus side the requirement for a non basic type is the same
requirement that #golang has on its interfaces.

Do you have a module declaration?

--
/Jacob Carlborg