On 10/16/2010 05:57 PM, kenji hara wrote: > Current dmd does not enough support runtime reflection. [snip] I think runtime reflection is not needed. What you'd need to do for the "loose duck" is generate code that throws for all interface methods that are not present in the class. Am I wrong? Andrei