On Wednesday, 27 September 2017 at 18:24:04 UTC, Nordlöw wrote:
At ...

Thanks Adam for your advice at

https://stackoverflow.com/questions/46454887/inter-module-symbol-resolution-error-of-template-type-parameter-when-using-mixin?noredirect=1#comment79867792_46454887

I made things work in this version

https://github.com/nordlow/phobos-next/blob/ef7e4fd59725400b4f1552f1f21cef050550a8a4/src/variant_arrays.d

by using

private static immutable(string) arrayTypeStringOfIndex(uint typeIndex)()
{
    return `CopyableArray!(Types[` ~ typeIndex.stringof ~ `])`;
}

instead of the previous

private static immutable(string) arrayTypeString(Type)()
{
    return `CopyableArray!(` ~ Type.stringof ~ `)`;
}

Reply via email to