Add missing imports to public unittests

This commit is contained in:
Sebastian Wilzbach 2016-12-10 09:00:03 +01:00
parent 3f8298e853
commit cc7f125ed1
15 changed files with 49 additions and 8 deletions

View file

@ -1196,6 +1196,8 @@ bool mayPointTo(S, T)(auto ref const shared S source, ref const shared T target)
//To check the class payload itself, iterate on its members:
()
{
import std.traits : Fields;
foreach (index, _; Fields!C)
if (doesPointTo(a.tupleof[index], i))
return;