I don't completely understand your problem, but have you tried marking the class as static?

static class Dummy { ... }

I was about to post links to the actual code to make it more clear, but that did the trick. Thanks for the fast reply.

Just to make sure - given:
unittest {
  static class Dummy { ... }
}

Dummy will not exist unless compiled with -unittest, correct?

Reply via email to