www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Code coverage

Hi,

maybe this is not a bug, but it will be nice if code coverage expands the mixed
in strings, otherwise much of the code could remain ... unknown.

template mym
{
   const mym =
   " my
   big
  mixin ";
}

void main()
{
  mixin(mym!()); // no coverage here. this should be replaced by the string...
}

Thanks,
bobef
Apr 02 2008