http://d.puremagic.com/issues/show_bug.cgi?id=2669
------- Comment #2 from dhase...@gmail.com 2009-03-14 21:16 ------- It might be worthwhile to examine the following: http://dsource.org/projects/dmocks/browser/dunit/trunk/dunit/assertions/variant.d http://dsource.org/projects/dmocks/browser/dunit/trunk/dunit/assertions/variant_array.d The former defines yet another Variant; the latter defines a VariantArray that allows iteration as if it were an array of Variants. This only applies to dynamic and static arrays; it doesn't apply to associative arrays. They also reference my runtime traits module, linked for completeness: http://dsource.org/projects/dmocks/browser/reflect/reflect/RuntimeTraits.d --