> Another thing, is(T : U) simply means T is implicitly castable to U.  Due to
> a compiler bug, Bar[] is implicitly castable to BaseClass[].
>

Steve

I realize that I am using this compiler bug as a feature. It would be
kind of you to suggest me a code that would not exploit this bug. I
was thinking of using something to the effect:

if (__traits(isStaticArray, this.tupleof[i]) {
  if (is (typeof(this.tupleof[i][0]) : BaseModule)) {

Regards
- Cherry

Reply via email to